Commit Graph

728 Commits

Author SHA1 Message Date
Ingo Weinhold
37aefc9c6f * Moved jam argument processing to new build/jam/CommandLineArguments.
* Check the first argument for "help" as well. If given print a somewhat
  helpful text. Consider this my excuse to close ticket #1883. :-)
* Track available and added optional packages and fail, if an optional package
  is requested that doesn't exist. Closes ticket #3332.
* Check for duplicate build profile definitions and fail if encountered.
  Closes ticket #3333.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-23 22:33:09 +00:00
Michael Lotz
6eba063647 * Added simplified possibility to schedule UHCI transfers from within KDL.
* Added debugger commands to resolve usb_ids to pipes.
* Adjusted the physical memory allocator to be usable in a slimmed down mode
  when running inside the kernel debugger.
* Implemented USB keyboard support for KDL through a kernel debugger add-on.
* Added kgetc() and made use of it where previously individual methods were used
  to ensure that reading characters always goes through the kernel debugger
  add-ons and the other methods.

This has some preconditions to meet though:
1) The keyboard must be in the boot protocol (currently the case but needs to
   be revisited once we have a full usb_hid).
2) The keyboard must be attached to a UHCI root port (i.e. not use EHCI or OHCI,
   also not through hubs unless those are USB 1.1).
3) the usb_hid driver has to be opened for this to work. This means that for the
   time between initializing USB and when usb_hid is opened by the input_server
   there is no keyboard support.

Also note that this has no way of detecting hot-plug, meaning that you can't
re-attach your USB keyboard from the hub to the root port once in KDL.

On the bright side of things, since this is a non-destructive mechanism it is
possible to enter and leave KDL without loosing the USB state.

Tested OK in QEMU, not tested on real hardware yet, will see in a few minutes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-22 20:46:27 +00:00
Bruno G. Albuquerque
ae2bf46029 The Spam DBM may not have the best interface in the world but it is one of the best anti-spam tool I saw so I am adding it to the image (in fact the interface with changes by darkwyrm looks worse than the original one, IMHO).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-22 13:45:40 +00:00
Joachim Seemer
510f720a32 Accidentally committed changed HaikuImage. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-21 15:50:37 +00:00
Joachim Seemer
8ddeba29fb Added Haiku-doc.css to image. Thanks for noticing luroh
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-21 15:45:55 +00:00
François Revol
54e5fb5647 Update Firefox to a newer build courtesy mmadia. It's actually named BeZilla this time to avoid the usual trademark vs non official problem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-20 21:10:10 +00:00
Michael Lotz
c41ac5b0e1 * Remove the original overlay filesystem.
* Add attribute_overlay and write_overlay to the image/floppy instead.
* Mount a iso9660 boot volume with both write and attribute overlay for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-19 23:01:42 +00:00
Michael Lotz
f96525f73f The GCC4 built boot floppy archive is too large, it doesn't fit on a 1.44 image.
Therefore we switch to building a 2.88 floppy image in that case so it's at
least usable to build a bootable CD.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-15 14:54:05 +00:00
Michael Lotz
b435702774 * Simplify the build of the CD a bit, just reuse the image scripts as those hold
what we want.
* Remove some more temporary files/directories after the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-15 13:30:42 +00:00
Michael Lotz
e2c3dec923 Preliminary support for building ISO only Haiku CDs. Not working completely
clean yet. Provides a haiku-cd target and creates a bootable image using mkisofs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-15 02:34:32 +00:00
Michael Lotz
bea22f6240 * Add overlay filesystem to the boot floppy and normal image.
* When booting from an iso, mount the boot volume with the overlay layer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-14 22:51:50 +00:00
Michael Lotz
a079780e8a * Add the iso9660 filesystem to the floppy image.
* Allow iso9660 partitions to be boot partitions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-14 00:11:15 +00:00
Rene Gollent
1e5a02e76f Renamed usb_dev_info to listusb and made it more useful:
By default it now presents a relatively concise list of USB
devices found on the bus, with an optional -v flag to dump
exhaustive detail. It still also takes an optional device 
parameter in case you only want information for a particular 
device.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-12 00:41:05 +00:00
Jérôme Duval
bc34203252 added a tar optional package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-10 22:18:06 +00:00
Michael Lotz
173700f0d7 Fix base URL I accidently messed up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 14:53:53 +00:00
Michael Lotz
fbac0185ad * Clean that up a bit and combine the ifs for GCC2/4.
* Also don't install the GCC2 package on a GCC4 based hybrid, as it's again not
  usable without proper manual setup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 12:47:29 +00:00
Michael Lotz
1c433de84c * Always install the "other tools" as part of the development optional package.
These all work on pure GCC4 images as well because they do not use any of our
  C++ APIs.
* Remove the GCC4 package from hybrid installs though, as it's not usable
  without proper setup. Also the trick with rewriting the symlink obviously
  doesn't work because symlinks are done way earlier than unzipping the optional
  packages when building the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 12:40:16 +00:00
Rene Gollent
2172e6b46d Update location of p7zip package. Thanks to Scott McCreary for the patch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-03 23:08:42 +00:00
Rene Gollent
6f215e6417 Forgot to update the symlink path in the Be menu when updating that package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-02 23:07:47 +00:00
Michael Lotz
6eb09230ba * Resolve further warnings on GCC4.
* Enable -Werror on GCC4 builds as well (limited to the same selected targets).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 22:12:55 +00:00
Rene Gollent
2a8364b847 (Long overdue) update of the gcc4 Vision package to bring it to version/feature parity with the gcc2 revision.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 01:52:59 +00:00
Rene Gollent
10bc1510be Update OpenSSL package to 0.9.8j and relocate it to /boot/common. Thanks to Matt Madia and Scott McCreary for the patches! This closes ticket #2640.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 16:04:12 +00:00
Alexandre Deckner
4f2fd49bdc * Added a "launcher" for Tracker preferences, which are now accessible from the preferences menu/folder. See #2365
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-29 03:35:20 +00:00
Michael Lotz
76043ac59a * Update the GCC4 package. This package has the builtin __BEOS__ define removed
and also comes with proper default includes.
* If installing GCC4 as part of a GCC2 based hybrid build, re-setup the gnupro
  link that is overwritten by the GCC4 package.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-29 01:25:23 +00:00
Michael Lotz
a16e2a1c69 Forgot to update this reference when renaming be/ to os/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-28 02:02:51 +00:00
Michael Lotz
3bdbdcb23e The default include paths have been updated from be/ to os/ so copy correspondingly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 23:57:59 +00:00
Michael Lotz
73476a18af Add a prebuilt GCC 4.3.3 package to the Development optional package. It's
installed either when building with GCC4 or when making a hybrid. Can be
installed separatly as well. Have fun :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 07:33:08 +00:00
Michael Lotz
8ffb1d6966 Updating config for current GCC4 cross compiler.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 05:15:41 +00:00
Michael Lotz
374c632c55 Rumour has it that we now have Haiku hosts with GCC > 2 as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 19:25:16 +00:00
Rene Gollent
3486acdf1e Update Vision package - fixes a bug that would sometimes result in malformed drag and dropped clippings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 16:27:44 +00:00
Michael Lotz
09a009d4af Move include directories for C++ headers to the beginning. This makes
include_next work properly with newer headers. GCC 4.3.2 has a <cstddef> in its
C++ headers for example that does an include_next of <stddef.h>. The latter is
located in the C headers. For this to work, the include directory for the C
headers needs to be specified later than the one of the C++ headers.
With that Haiku is now completely buildable with GCC 4.3.2.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 03:23:21 +00:00
Michael Lotz
64f7e20f9c Add -ffreestanding to kernel C/C++ flags. This means that ISO conventions like
the main() signature are not applied and do not generate errors when violated.
Our bootloader has a non-standard main() signature for example, which is of
course fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 00:40:41 +00:00
François Revol
3c4b936066 Add /dev/mem driver, it builds fine.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-17 00:02:18 +00:00
Axel Dörfler
51ad57d4f0 * Moved the empty directories to the other location where empty directories
are added.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-14 14:26:23 +00:00
François Revol
ad06cdd139 Move the tgz archive offset to 300k, should fix CD boot again, but it's getting tight.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-09 20:36:50 +00:00
Rene Gollent
9c566bdabf Updated gcc2 Vision package with one or two minor fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-06 04:33:41 +00:00
Axel Dörfler
d68ffdedc0 * More or less completed the network notification module - it does not remove
old invalid user listeners yet, though (ie. if a team dies).
* Implemented userland network monitor functions.
* Added a few notifications to the network stack, even though this part isn't
  complete yet (especially notify_interface_changed()).
* Added optional debug output to the notifications module.
* Added the module to the image, it basically works now (tested).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-27 20:48:28 +00:00
François Revol
6fa399bed1 These non-GUI packages should also work with gcc4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-24 02:48:25 +00:00
Rene Gollent
570212a333 Fix incorrect symlink path. Thanks to Urias McCullough for reporting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-23 04:42:43 +00:00
Jérôme Duval
8214934cdc added p7zip as an optional package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-12 22:17:05 +00:00
Rene Gollent
582f68d73f And that should of course be Message, not Welcome...no idea how that happened..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-10 00:54:32 +00:00
Rene Gollent
bdffbce7af Adjust ScreenSaverRunner to make the screen saver draw once before sleeping. This fixes the perceived black screen problem with the Message screensaver. Also cleaned up Message slightly to retrieve its string from fortune more cleanly, and readded it to the build since it will no longer deadlock the screensaver module for 30 seconds at a time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-10 00:44:14 +00:00
Rene Gollent
a63ebcb3ca Updated CVS package courtesy of the HaikuPorts crew - fixes the root user commit problem. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-05 04:13:34 +00:00
Ithamar R. Adema
5b188b1c9f * Added the ar81xx driver to the image. Thanks for testing kvdman!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 21:28:12 +00:00
Rene Gollent
f836b0656b Updated CVS and yasm packages, thanks to Scott McCreary for the updates!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 02:46:59 +00:00
Ingo Weinhold
30ed37c845 Introduced rules UserBuildConfigRulePostBuildTargets,
UserBuildConfigRulePreImage, and UserBuildConfigRulePostImage which will be
invoked at different points in the build system execution. They can be
overridden in UserBuildConfig, thus allowing for executing user code at
those points.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 02:02:28 +00:00
Ithamar R. Adema
8e9ff38303 Update Attansic L2 driver with latest source from FreeBSD, it is now fully functional!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-30 18:16:19 +00:00
Jérôme Duval
e11c40c4e2 applied patch from PieterPanman for broadcom570x network chipsets. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-21 23:43:14 +00:00
François Revol
d423222f0c Disable old API sound drivers and addon for now, anyone feel free to finish it :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-18 22:58:20 +00:00
François Revol
8b8d5ae279 Add the legacy media_addon and the few drivers we have that still use the old/ API. While the legacy addon seems unfinished it doesn't prevent booting, hopefully someone will be motivated enough to finish it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-17 23:26:46 +00:00