Commit Graph

66 Commits

Author SHA1 Message Date
Ingo Weinhold
a8193053ec Added driver for Open PIC compatible interrupt controllers (ported
from FreeBSD). At the moment it only recognizes Apple's Intrepid
Mac I/O Controller.
Not sure how well it works yet. Enabling all I/O interrupts
definitely triggers one, but I don't seem to get rid of it
afterwards.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 02:42:38 +00:00
Ingo Weinhold
2cb3f38f9f Fixed comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 23:04:54 +00:00
Ingo Weinhold
fa2a531aa8 The Copy rule respects an already set SEARCH path now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 23:04:01 +00:00
Jérôme Duval
1b478a399e fixed network libs definition for haiku platform
it could be wrong in some cases


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 12:50:03 +00:00
Ingo Weinhold
7aa7880955 Build mimeset for the build platform and use it for the apps we build.
This fixes bug #74.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 22:02:48 +00:00
Marcus Overhagen
bfb4078864 unbreak build and image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 14:05:43 +00:00
Axel Dörfler
f9cf8b6073 Added __HAIKU__ for target libbe_test.
Fixed FreeBSD host platform define.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 23:55:14 +00:00
Jérôme Duval
18505d40c2 added blank installer init and finish scripts
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 21:43:58 +00:00
Axel Dörfler
890d7226ed Added the "logger" command to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 16:33:34 +00:00
Axel Dörfler
789b0b7824 Applied patch from Alexander U. Deynichenko: $HOST_PLATFORM should change
HOST_DEFINES, not TARGET_DEFINES.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 16:31:27 +00:00
Jérôme Duval
7f4e7d24c5 added makebootable (should be needed by the installation process)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 16:18:13 +00:00
Jérôme Duval
9818598d86 added bin tools and symlinks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 14:49:50 +00:00
Jérôme Duval
bd85acf394 added more bin tools
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-12 19:45:53 +00:00
Ingo Weinhold
250995598d Tagged things that don't build for PPC, so that they are added
to the x86 image only.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-07 20:29:50 +00:00
Axel Dörfler
7a243210d4 Added desklink.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-03 23:29:33 +00:00
Axel Dörfler
696e72709e The debug_server now uses the standard terminal for debugging - we no longer
need MiniTerminal, it's no longer included in the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-03 14:50:39 +00:00
Axel Dörfler
b1c3e6a9f0 Added "echo" to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-03 14:27:02 +00:00
Axel Dörfler
e97863686f Added "alert" to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-03 11:39:24 +00:00
Stefano Ceccherini
e6c149ddd1 Added Chart to the hd image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-02 15:09:47 +00:00
Ingo Weinhold
957a1b17eb * Introduced new build system variables
{HAIKU,HOST,TARGET}_KERNEL_PIC_{CC,LINK}FLAGS which define the
  compiler/linker flags specifying the kind of position independence
  the kernel shall have. For x86 we had and still have -fno-pic, but the
  PPC kernel has -fPIE (position independent executable) now, as we
  need to relocate it.
* The boot loader relocates the kernel now. Mostly copied the relocation
  code from the kernel ELF loader. Almost completely rewrote the PPC
  specific relocation code, though. It's more correct and more complete now
  (some things are still missing though).
* Added boot platform awareness to the kernel. Moved the generic
  Open Firmware code (openfirmware.c/h) from the boot loader to the kernel.
* The kernel PPC serial debug output is sent to the console for the time
  being.
* The PPC boot loader counts the CPUs now and allocates the kernel stacks
  (made OF device iteration a bit more flexible on the way -- the search
  can be restricted to subtree). Furthermore we really enter the kernel...
  (Yay! :-) ... and crash in the first dprintf() (in the atomic_set()
  called by acquire_spinlock()). kprintf() works, though.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-30 21:20:07 +00:00
Axel Dörfler
6f9dddcb72 libgame.so can now be compiled again in the test environment (libbe_test).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-28 21:53:13 +00:00
Ingo Weinhold
2a1f9fe07a Rewrote KernelAddon. We were using Addon before, with the undesired side
effect that we were linking not only against the complete glue code, but
also against libroot.so. Now we explicitly link against
crtbegin.o/crtend.o only.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-15 13:01:25 +00:00
Waldemar Kornewald
57eab4408b Now we use the legacy headers when building our compatibility libraries. Fixed BuildSetup to use root instead of libroot.so because arp would not build otherwise. Command-line apps now don't build for R5, anymore. I hope nothing is broken.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-13 16:30:16 +00:00
Axel Dörfler
4f00613311 Added generic x86 CPU module.
Contains (emtpy) modules for Intel/AMD/VIA models.
Might be separated later, though, depending on how large they will get.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-12 17:20:32 +00:00
Ingo Weinhold
cc094b2cb8 Added TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-11 16:31:02 +00:00
Stefano Ceccherini
06dd435a79 Add the bmp translator (again) to the image. It has been removed accidentally, probbably in the build system migration. This fixes the problem with missing bitmaps (and crashes in the Mouse preflet)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-08 22:07:36 +00:00
Ingo Weinhold
365eac1bea Support PPC as target architecture.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-06 22:47:04 +00:00
Ingo Weinhold
20ab75e64c Adjusted build_cross_tools_gcc4 and configure to be able to build PPC
build tools as well. The configure option --build-cross-tools-gcc4 has a
new parameter to specify the architecture.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-06 22:45:11 +00:00
Ingo Weinhold
9743fe8729 When building the gcc 4 cross tools we now configure for machine
i586-pc-haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-05 15:01:20 +00:00
Jérôme Duval
5c8a419576 added matroska again, as setjmp is working
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-28 21:11:58 +00:00
Ingo Weinhold
353d20c0c5 * libroot and the runtime loader are no longer built with kernel rules.
* New rule Ld, analogously to KernelLd.
* Added StaticLibrary parameter for supplying additional objects.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-27 13:31:50 +00:00
Ingo Weinhold
74f85acd35 Some cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-26 23:25:29 +00:00
Ingo Weinhold
eb94488877 Fixed image build broken since revision 15169.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-26 23:16:20 +00:00
Ingo Weinhold
e3c1eb20cf Removed superfluous AddDirectoryToHaikuImage invocations.
Add{Files,Symlink}ToHaikuImage do that anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-26 22:58:40 +00:00
Axel Dörfler
b7a6acd4ce Added a symlink from the Desktop to the user's home directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-26 22:29:29 +00:00
Axel Dörfler
560fa51713 * fixed AddSymlinkToHaikuImage usage for more/less - we have both back again :)
* added home/config/be folder, and added symlinks to /boot/beos/apps and
  /boot/beos/preferences to it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-26 22:04:33 +00:00
Ingo Weinhold
6724a1930d Adjusted build_cross_tools[_gcc4] scripts according to the new directory
layout in the buildtools module.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-22 23:34:51 +00:00
Ingo Weinhold
32bf6c0b07 LibraryFromObjects did set AR on $(1) instead of on $(_l), the latter
one being $(1:S=$(SUFLIB)). Thus the wrong AR would be used when
the name passed to LibraryFromObjects didn't have the .a suffix yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-19 00:57:21 +00:00
Nathan Whitehorn
9a05e71e91 Made FreeBSD work with jam.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-18 17:42:16 +00:00
Nathan Whitehorn
307807f2da Moved FreeBSD setup to define a freebsd build platform. GCC4 apparently also requires the use of GNU Make, so told the build_cross_tools script to use 'gmake' instead of 'make' on BSD systems.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-18 16:35:32 +00:00
Ingo Weinhold
29ef597dc6 * Added build_cross_tools_gcc4 script which builds gcc 4 and binutils
from the sources. Added respective configure option
  --build-cross-tools-gcc4.
* Fixed running "configure --build-cross-tools" from another directory
  than the source dir. The parameter to the script was missing and thus
  the tools were created in <sources>/generated.
* Removed stdc++ lib header dir ".../debug". One is supposed to include
  <debug/...> to get the debug headers.
* The stdc++ lib header dirs are now listed one per line in the
  generated BuildConfig. This works around the 512 bytes jam line length
  limit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-18 14:17:04 +00:00
Jérôme Duval
05aad4ff04 added midi libs and server
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-17 09:04:03 +00:00
Ingo Weinhold
f3d8bb347a Default Key_map was misplaced.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-16 17:11:44 +00:00
Ingo Weinhold
9469b271e8 Typo that broke the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-14 14:26:14 +00:00
Ingo Weinhold
c89fc8752d * More consequent handling of libsupc++. configure looks it up now and
provides it via BuildConfig. We link everything against it.
* Temporarily pass --no-undefined to the linker. Should be in the
  compiler specs, but isn't in the gcc 4 I built.
* Define _BEOS_R5_COMPATIBLE_ macro when building with gcc 2. Can be
  used in headers for instance.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-14 13:47:52 +00:00
Ingo Weinhold
0b10086c24 Removed obsolete libappserver.so from the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-13 16:49:12 +00:00
Axel Dörfler
ec068e96bb No longer needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-13 13:06:56 +00:00
Ingo Weinhold
8b5934c975 * Added support for compiling Haiku with GCC 4. The main difference is that
we use the libstdc++ (including it's headers) that comes with the
  compiler.
* Apparently option "-I-" has been deprecated, which is why we now treat the
  include stuff a bit differently.
* Removed avcodec from the Haiku image, since the library wouldn't build with
  gcc 4, and I'm not in the mood to fix that (declaration of an array of an
  incomplete type).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-12 22:58:54 +00:00
Axel Dörfler
d6f43ca72c Looks like Dano headers aren't perfect. I hope this solution is at least a tiny
bit like Ingo would have done it :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-11 15:50:47 +00:00
Jérôme Duval
c94c34e8cf checked keymap paths
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-09 17:20:23 +00:00