Commit Graph

105 Commits

Author SHA1 Message Date
Jérôme Duval
69681c7500 fix typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-15 20:38:13 +00:00
Matt Madia
0e82d313d6 Allows AddOptionalHaikuImagePackages and OptionalPackageDependencies to work in
arbitrary order. Follow-up to r35830.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-15 16:11:47 +00:00
Matt Madia
429618d249 Moves the conditional adding of OpenSSL from HaikuImage to the root Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-12 18:07:19 +00:00
Matt Madia
a5c31cbbc0 * Introduced "MandatoryPackages", which is added to all default images
* Renamed "BasicCommandLinesTools" to "Sed"
 * Removed isCDPackage's parameter from "Sed"s InstallOptionalHaikuImagePackage
 * Currently, "MandatoryPackages" only dependency is "Sed"
 * Fixes #5560


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-12 18:03:57 +00:00
Michael Lotz
100e91926c Adding buildsystem support for the "anyboot" images. They can be built using
the haiku-anyboot-image pseudo target. As I'm not too much at home with Jam I'd
appreciate any input. Especially for the TODO where removing the MBR using
RmTemps seems to cause a failure to get it built again every other time.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 18:54:16 +00:00
Ingo Weinhold
de49044796 * Use the new Add{Files,Symlink}ToHaikuHybridImage rules in HaikuImage and
OptionalPackages. This makes the content definition part in
  AlternativeGCCArchive superfluous.
* Moved the cc and c++ wrapper scripts from src/bin to data/bin.
* Added build variable HAIKU_ADD_OPTIONAL_PACKAGES to add optional packages
  -- the list can be separated by slashes to allow easier passing through
  the shell.
* When invoking the sub-jam that builds the alternative GCC archive, we force
  it to ignore the UserBuildConfigs and we enable the optional packages
  enabled in the main jam.
* Reorganized /boot/develop:
  - There's now an "abi" subdirectory containing a <arch>/<gcc>/ subdirectory
    for each installed ABI-incompatible gcc version and a "current" symlink
    pointed to the currently selected one.
  - All ABI-dependent directories under /boot/develop/ (lib/x86, headers/cpp,
    tools/gnupro) symlink into /boot/develop/abi/current.
  - Changed BELIBRARIES to contain
    /boot/develop/abi/current/library-paths/common instead of /boot/common/lib.
    The former is a symlink to either /boot/common/lib or
    /boot/common/lib/<gccVersion>. There's also a respective "home" symlink.
  - Repackaged the optional binutils+gcc 2/4 packages accordingly. Also fixed
    the obsolete /boot/beos/system/lib/libstdc++.so symlink in the gcc 4
    package.
  - The new structure allows to switch between compilers by changing the
    /boot/develop/abi/current symlink. Added script setgcc to do that.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-27 01:12:34 +00:00
Oliver Tappe
723383c0f4 Applied patch by PulkoMandy, adjusted and extended by myself:
* integrating most of the locale kit into the build (and image)
* removed LocaleBuild.h and _IMPEXP_LOCALE since that does not make
  sense for elf (which usually exports all symbols anyway)
* added a couple of locale kit related pseudo targets for convenience
Hey, some of that stuff already seems to work :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 21:56:16 +00:00
Ingo Weinhold
ff81d306d4 * Moved the optional package dependency definitions into the new
build/jam/OptionalPackageDependencies and include it earlier (before the
  Jamfiles).
* Introduced build/jam/OptionalBuildFeatures which is supposed to do the setup
  for optional build features that need it.
* Renamed USE_SSL to HAIKU_BUILD_FEATURE_SSL and made it more intelligent.
  The OpenSSL optional package is downloaded and unzipped automatically when
  enabled. Switching between enabled/disabled HAIKU_BUILD_FEATURE_SSL is
  handled gracefully -- the concerned components are built in separate
  subdirectories. Adding the OpenSSL optional package to the image also enables
  HAIKU_BUILD_FEATURE_SSL.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-08 10:07:17 +00:00
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
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
Ingo Weinhold
ad27081fa6 Missed to check this one in:
* Invoke the UserBuildConfigRulePostBuildTargets rule.
* Some automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-06 18:42:33 +00:00
François Revol
c7d3cf5b8a First attempt at a PPC bootable iso, doesn't work yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-07 02:35:46 +00:00
Ingo Weinhold
be8a6e43ff * Added JAMFILE to the config variables.
* Added additional parameters to DeferredSubInclude. It's now possible
  to specify an alternative Jamfile name.
* Added DeferredSubInclude example to UserBuildConfig.ReadMe showing the
  new feature.
* Moved ExecuteDeferredSubIncludes in the root Jamfile before the
  inclusion of HaikuImage, NetBootArchive etc., so that targets defined
  in the subdirectories are already known there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-30 15:34:30 +00:00
François Revol
9ed64004cc Rules and targets to build a boot CD iso... use:
jam haiku-boot-cd


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 04:38:29 +00:00
François Revol
22ec1df3f0 Add rules to create a boot floppy (use jam haiku-boot-floppy), in preparation for CD booting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-02 03:05:23 +00:00
François Revol
a7ec9c1d59 Hook in 3rdparty/ to the main build.
Currently it's optional, you must define HAIKU_INCLUDE_3RDPARTY in [User]BuildConfig.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 18:14:51 +00:00
Ingo Weinhold
689e67941d Reset the correct subdir environment before doing the final stuff (haiku
image, netboot archive, etc).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-26 23:09:18 +00:00
Ingo Weinhold
b39c8d3711 * Refactored the image creation rules. There are now generalized rules that
work on arbitrary "containers". The image rules are just
  specializations.
* Added rules, a definition file (build/jam/NetBootArchive), and a shell
  script for creating a gzipped tar archive containing kernel and modules
  required for network booting (the contents may need some fine-tuning).
  ATM it can be built via the haiku-netboot-archive pseudo target. It is
  generated in the output directory (e.g. "generated").


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-11 01:04:35 +00:00
Ingo Weinhold
a970df44af * Include HaikuImage after the Jamfiles, so they can provide/adjust info
relevant for the image creation.
* The CopySetHaikuRevision propagates the value of the
  HAIKU_INCLUDE_IN_IMAGE variable from the source to the target.
* Propagate the value of HAIKU_INCLUDE_IN_IMAGE from "kernel" to
  "kernel_$(TARGET_ARCH)".

Now "jam update-install kernel" should work as expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-29 19:28:11 +00:00
Ingo Weinhold
48d60fa69c Introduced new build system features: The variable HAIKU_DONT_INCLUDE_SRC to
turn off the inclusion of src/Jamfile, and the rule DeferredSubInclude to
include a subdirectory in UserBuildConfig. Together they allow a developer
working on a subproject to reduce jam's parsing time when only building the
subproject. Relevant mostly on BeOS; on Linux jam is pretty fast anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-04 05:09:59 +00:00
DarkWyrm
1effc98815 Add the spam filter and server to the MailKit pseudo-target
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 05:09:54 +00:00
Ingo Weinhold
338b8dc301 Merged changes from branch build_system_redesign at revision 14573.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 16:27:43 +00:00
Jérôme Duval
1559de1285 added screensaver kit package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-30 12:22:22 +00:00
Philippe Houdoin
99a77abfdf Added an OpenGLKit pseudo-target.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-28 23:17:52 +00:00
Marcus Overhagen
184dd027c3 adjusted media kit library dependencies to allow compiling for R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 18:05:01 +00:00
David McPaul
215c91dfb1 Added mov_reader to media kit - Very Alpha
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-10 15:52:49 +00:00
Jérôme Duval
f35b607dd6 docbook files go in objects dir
added a doc_files target
spaces in directory names don't please path xsltproc syntax


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 01:44:35 +00:00
beveloper
dfac3f8555 added matroska to jamfile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-25 19:41:23 +00:00
Jérôme Duval
d3e72bf66a added an input kit target
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 08:35:51 +00:00
Philippe Houdoin
4e7ab2f1d3 Add latests network drivers to NetworkingKit pseudo-target.
Add a MailKit pseudo-target to build the whole mail kit simply.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 23:03:34 +00:00
beveloper
28a06094b2 Modified media_server and media_addon_server cration/terminatio.
Now uses application mime sig for start/stopping. Much better
compatibility with libbe.so restarting functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 20:43:01 +00:00
beveloper
ed942695d6 added more targets to the "MediaKit" jam target
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 14:34:13 +00:00
Waldemar Kornewald
6c3f95cd4b Added libbind.so and libsocket.so to NetworkingKit target.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:04:39 +00:00
Waldemar Kornewald
79a14ca58f Added route to NetworkingKit target (and renamed route (the command) to <bin>route).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 10:51:10 +00:00
beveloper
4fed4f5e43 added ac3-decoder to the MediaKit target
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-06 22:41:38 +00:00
beveloper
df016bba35 media kit plugins update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 22:01:23 +00:00
Waldemar Kornewald
ca1e03bddc Added modem to PPP devices (in NetworkKit target).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-02 12:38:53 +00:00
beveloper
4a687b079d added a few media kit targets
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-26 00:01:08 +00:00
beveloper
1b1b7ddf8f remove warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 16:26:08 +00:00
Waldemar Kornewald
ef0e9a6aba Added IPCP and PAP to Networking-Kit pseudo-target.
Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-26 20:11:32 +00:00
Philippe Houdoin
83abf055e9 Update MediaKit pseudo target to include newer add-ons and plugins.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 22:40:36 +00:00
Waldemar Kornewald
b82b832e8c Added ppp, pppoe, and pppconfig to NetworkingKit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 18:04:33 +00:00
beveloper
0b153628d8 added media demo nodes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:23:59 +00:00
Philippe Houdoin
ceeee96387 Add sis900 and rtl8139 network adapters drivers to the whole network build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-19 01:09:56 +00:00
beveloper
4d48a4d093 fixed mixer target name
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-01 21:12:24 +00:00
Philippe Houdoin
047625c2c5 Quick pseudo-target hack to build MediaKit only.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-30 23:04:41 +00:00
Philippe Houdoin
5c3a520419 Change pseudo target net_stack into a simpler one: running "jam NetworkingKit" will
build all Networking Kit stuffs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 20:50:04 +00:00
Philippe Houdoin
58f2dcabcb Added a pseudo target to ease building only net stack.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-12 20:42:24 +00:00
Ingo Weinhold
07a4996304 Added pseudo target alltests as a short hand for r5tests+obostests. Just 'tests' would be nicer but we have several dirs with that name.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 14:10:26 +00:00
Ingo Weinhold
69b9746989 Added installfloppy target.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 22:08:55 +00:00
Ingo Weinhold
2854c6ede0 Removed the kernel building lines as they are in src/kernel again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 13:53:07 +00:00
Ingo Weinhold
8a0ccf997a There mustn't be any rules after a SubInclude.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 22:54:34 +00:00
David Reid
b37632482f Whoops! Forgot to move the final kernel link and floppy creation lines
here :)

Thanks to Marcus for pointing this out to me.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 21:39:56 +00:00
ejakowatz
5f281ed502 Well, I couldn't go to bed without making *something* build ... ;)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 13:40:32 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00