* Refactored the Development optional package into three packages:
- DevelopmentMin: Contains only the stuff that comes with the source tree. - DevelopmentBase: DevelopmentMin + common development tools (gcc, binutils, bison, yacc,...) -- basically everything needed to build Haiku from the sources. - Development: DevelopmentBase + Perl + autotools -- the porters' tools. * Moved "make" from the base image to the DevelopmentMin package. It should really be removed from the tree completely and be available as download package instead... someday. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30249 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
827f849a34
commit
fc9a2f95ea
@ -31,7 +31,7 @@ SYSTEM_BIN = "[" addattr alert arp base64 basename bash bc beep bootman bzip2
|
||||
join
|
||||
keymap kill less lessecho lesskey link listarea listattr listimage listdev
|
||||
listport listres listsem listusb ln locate logger login logname ls lsindex
|
||||
make makebootable md5sum merge mimeset mkdos mkdir mkfifo mkfs mkindex
|
||||
makebootable md5sum merge mimeset mkdos mkdir mkfifo mkfs mkindex
|
||||
modifiers mount mount_nfs mountvolume mv
|
||||
nc netstat nl nohup od open passwd paste
|
||||
patch pathchk pc ping play playfile playsound playwav pr prio printenv
|
||||
|
@ -1,9 +1,13 @@
|
||||
# package dependencies
|
||||
#
|
||||
# For transitive dependencies dependants should be listed before their
|
||||
# dependencies.
|
||||
|
||||
OptionalPackageDependencies APR-util : APR ;
|
||||
OptionalPackageDependencies BeHappy : BeBook NetSurf ;
|
||||
OptionalPackageDependencies Development : Perl ;
|
||||
OptionalPackageDependencies LibLayout : Development ;
|
||||
OptionalPackageDependencies Development : DevelopmentBase Perl ;
|
||||
OptionalPackageDependencies DevelopmentBase : DevelopmentMin Yasm ;
|
||||
OptionalPackageDependencies LibLayout : DevelopmentBase ;
|
||||
OptionalPackageDependencies NetSurf : OpenSSL ;
|
||||
OptionalPackageDependencies OpenSSH : OpenSSL ;
|
||||
OptionalPackageDependencies Subversion : OpenSSL ;
|
||||
|
@ -21,7 +21,9 @@ if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) && $(HAIKU_ALTERNATIVE_GCC_OUTPUT_DIR) {
|
||||
# BePDF
|
||||
# Bluetooth
|
||||
# CVS
|
||||
# Development
|
||||
# Development - more complete dev environment (including autotools)
|
||||
# DevelopmentBase - basic development environment (gcc, headers, libs,...)
|
||||
# DevelopmentMin - development headers, libs, tools, from sources only
|
||||
# Firefox
|
||||
# KeymapSwitcher
|
||||
# LibLayout
|
||||
@ -160,7 +162,7 @@ if [ IsOptionalHaikuImagePackageAdded Bluetooth ] {
|
||||
AddFilesToHaikuImage system bin : bt_dev_info bt_discovery ;
|
||||
AddSymlinkToHaikuImage home config be Preferences
|
||||
: /boot/system/preferences/Bluetooth ;
|
||||
if [ IsOptionalHaikuImagePackageAdded Development ] {
|
||||
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ] {
|
||||
AddSymlinkToHaikuImage develop lib x86 : /system/lib/libbluetooth.so ;
|
||||
}
|
||||
}
|
||||
@ -182,6 +184,52 @@ if [ IsOptionalHaikuImagePackageAdded CVS ] {
|
||||
|
||||
# Development
|
||||
if [ IsOptionalHaikuImagePackageAdded Development ] && $(TARGET_ARCH) = x86 {
|
||||
# autotools
|
||||
local baseURL = http://haiku-files.org/files/optional-packages ;
|
||||
InstallOptionalHaikuImagePackage autoconf-2.63-gcc2-2008-11-05
|
||||
: $(baseURL)/autoconf-2.63-gcc2-2008-11-05.zip ;
|
||||
InstallOptionalHaikuImagePackage automake-1.10.1-gcc2-2008-11-06
|
||||
: $(baseURL)/automake-1.10.1-gcc2-2008-11-06.zip ;
|
||||
InstallOptionalHaikuImagePackage libtool-2.2.6a-gcc2-2008-11-09
|
||||
: $(baseURL)/libtool-2.2.6a-gcc2-2008-11-09.zip ;
|
||||
InstallOptionalHaikuImagePackage texinfo-4.13a-gcc2-2008-11-09
|
||||
: $(baseURL)/texinfo-4.13a-gcc2-2008-11-09.zip ;
|
||||
}
|
||||
|
||||
|
||||
# DevelopmentBase
|
||||
if [ IsOptionalHaikuImagePackageAdded DevelopmentBase ]
|
||||
&& $(TARGET_ARCH) = x86 {
|
||||
# gcc and binutils
|
||||
if $(HAIKU_GCC_VERSION[1]) = 2 {
|
||||
local baseURL = http://haiku-files.org/files/optional-packages ;
|
||||
InstallOptionalHaikuImagePackage gcc-2.95.3-haiku-081024
|
||||
: $(baseURL)/gcc-2.95.3-haiku-081024.zip ;
|
||||
} else if $(HAIKU_GCC_VERSION[1]) = 4 {
|
||||
local baseURL = http://haiku.mlotz.ch ;
|
||||
InstallOptionalHaikuImagePackage gcc-4.3.3-haiku-090313
|
||||
: $(baseURL)/gcc-4.3.3-haiku-090313.zip ;
|
||||
|
||||
# symlink cpp to g++'s headers
|
||||
AddSymlinkToHaikuImage develop headers
|
||||
: /boot/develop/tools/gnupro/include/g++ : cpp ;
|
||||
}
|
||||
|
||||
# other commonly used tools
|
||||
local baseURL = http://haiku-files.org/files/optional-packages ;
|
||||
InstallOptionalHaikuImagePackage bison-2.4-gcc2-2008-11-09
|
||||
: $(baseURL)/bison-2.4-gcc2-2008-11-09.zip ;
|
||||
InstallOptionalHaikuImagePackage flex-2.5.35-gcc2-2008-11-09
|
||||
: $(baseURL)/flex-2.5.35-gcc2-2008-11-09.zip ;
|
||||
InstallOptionalHaikuImagePackage jam-haiku-gcc2-2008-03-27-2
|
||||
: $(baseURL)/jam-haiku-gcc2-2008-03-27-2.zip ;
|
||||
InstallOptionalHaikuImagePackage m4-1.4.12-gcc2-2008-11-04
|
||||
: $(baseURL)/m4-1.4.12-gcc2-2008-11-04.zip ;
|
||||
}
|
||||
|
||||
|
||||
# DevelopmentMin
|
||||
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ] && $(TARGET_ARCH) = x86 {
|
||||
# glue code
|
||||
AddFilesToHaikuImage develop lib x86
|
||||
: <src!system!glue!arch!x86>crti.o <src!system!glue!arch!x86>crtn.o
|
||||
@ -205,10 +253,10 @@ if [ IsOptionalHaikuImagePackageAdded Development ] && $(TARGET_ARCH) = x86 {
|
||||
# cc and c++ wrapper scripts
|
||||
AddFilesToHaikuImage system bin : cc c++ ;
|
||||
|
||||
# mkdepend build tool, which is part of the Haiku source tree
|
||||
# (same as make, but make is already included independent of the
|
||||
# Development package)
|
||||
AddFilesToHaikuImage system bin : mkdepend ;
|
||||
# make and mkdepend build tool, which are part of the Haiku source tree
|
||||
# TODO: Both should be removed from the tree, made download packages
|
||||
# and moved to the DevelopmentBase package.
|
||||
AddFilesToHaikuImage system bin : make mkdepend ;
|
||||
|
||||
# skeleton makefile and makefile-engine
|
||||
local makefileEngineFiles =
|
||||
@ -243,63 +291,8 @@ if [ IsOptionalHaikuImagePackageAdded Development ] && $(TARGET_ARCH) = x86 {
|
||||
AddHeaderDirectoryToHaikuImage libs zlib : 3rdparty ;
|
||||
|
||||
if $(HAIKU_GCC_VERSION[1]) = 2 {
|
||||
# gcc and binutils
|
||||
local baseURL = http://haiku-files.org/files/optional-packages ;
|
||||
InstallOptionalHaikuImagePackage gcc-2.95.3-haiku-081024
|
||||
: $(baseURL)/gcc-2.95.3-haiku-081024.zip
|
||||
:
|
||||
;
|
||||
|
||||
AddHeaderDirectoryToHaikuImage cpp ;
|
||||
}
|
||||
|
||||
if $(HAIKU_GCC_VERSION[1]) = 4 {
|
||||
# gcc and binutils
|
||||
local baseURL = http://haiku.mlotz.ch ;
|
||||
InstallOptionalHaikuImagePackage gcc-4.3.3-haiku-090313
|
||||
: $(baseURL)/gcc-4.3.3-haiku-090313.zip
|
||||
:
|
||||
;
|
||||
|
||||
# symlink cpp to g++'s headers
|
||||
AddSymlinkToHaikuImage develop headers
|
||||
: /boot/develop/tools/gnupro/include/g++ : cpp ;
|
||||
}
|
||||
|
||||
# other tools
|
||||
local baseURL = http://haiku-files.org/files/optional-packages ;
|
||||
InstallOptionalHaikuImagePackage autoconf-2.63-gcc2-2008-11-05
|
||||
: $(baseURL)/autoconf-2.63-gcc2-2008-11-05.zip
|
||||
:
|
||||
;
|
||||
InstallOptionalHaikuImagePackage automake-1.10.1-gcc2-2008-11-06
|
||||
: $(baseURL)/automake-1.10.1-gcc2-2008-11-06.zip
|
||||
:
|
||||
;
|
||||
InstallOptionalHaikuImagePackage bison-2.4-gcc2-2008-11-09
|
||||
: $(baseURL)/bison-2.4-gcc2-2008-11-09.zip
|
||||
:
|
||||
;
|
||||
InstallOptionalHaikuImagePackage flex-2.5.35-gcc2-2008-11-09
|
||||
: $(baseURL)/flex-2.5.35-gcc2-2008-11-09.zip
|
||||
:
|
||||
;
|
||||
InstallOptionalHaikuImagePackage jam-haiku-gcc2-2008-03-27-2
|
||||
: $(baseURL)/jam-haiku-gcc2-2008-03-27-2.zip
|
||||
:
|
||||
;
|
||||
InstallOptionalHaikuImagePackage libtool-2.2.6a-gcc2-2008-11-09
|
||||
: $(baseURL)/libtool-2.2.6a-gcc2-2008-11-09.zip
|
||||
:
|
||||
;
|
||||
InstallOptionalHaikuImagePackage m4-1.4.12-gcc2-2008-11-04
|
||||
: $(baseURL)/m4-1.4.12-gcc2-2008-11-04.zip
|
||||
:
|
||||
;
|
||||
InstallOptionalHaikuImagePackage texinfo-4.13a-gcc2-2008-11-09
|
||||
: $(baseURL)/texinfo-4.13a-gcc2-2008-11-09.zip
|
||||
:
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
@ -553,7 +546,7 @@ if [ IsOptionalHaikuImagePackageAdded UserlandFS ] {
|
||||
AddFilesToHaikuImage system lib : $(userlandfsLibs) ;
|
||||
|
||||
# development goodies
|
||||
if [ IsOptionalHaikuImagePackageAdded Development ] {
|
||||
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ] {
|
||||
# library symlinks
|
||||
local lib ;
|
||||
for lib in $(userlandfsLibs) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user