Added some of the development optional packages.

This adds some of the development packages for x86_64. All of the
DevelopmentBase packages (gcc, make, jam, bison, flex, m4, mkdepend)
have been built and uploaded.
This commit is contained in:
Alex Smith
2012-08-16 20:32:29 +01:00
parent aaeadfcb02
commit 602d9c96a5
3 changed files with 137 additions and 82 deletions
+3 -3
View File
@@ -23,12 +23,12 @@ SYSTEM_BIN = "[" addattr base64 basename bash beep cal cat catattr chgrp chmod
chown chroot cksum clear clockconfig cmp collectcatkeys comm compress chown chroot cksum clear clockconfig cmp collectcatkeys comm compress
copyattr cp csplit cut date dd diff diff3 dircolors dirname df du copyattr cp csplit cut date dd diff diff3 dircolors dirname df du
dumpcatalog echo eject env error expand expr factor false find finddir dumpcatalog echo eject env error expand expr factor false find finddir
fmt fold fortune gawk gdb gzip gzexe getlimits groups head hostname id fmt fold fortune gawk gdb gzip gzexe getlimits grep groups head hostname id
ifconfig <bin>install isvolume join kernel_debugger kill less lessecho ifconfig <bin>install isvolume join kernel_debugger kill less lessecho
lesskey link linkcatkeys listdev ln locale locate logger logname ls md5sum lesskey link linkcatkeys listdev ln locale locate logger logname ls md5sum
mkdir mkfifo mktemp mount mountvolume mv nl nohup nproc od paste patch mkdir mkfifo mktemp mount mountvolume mv nl nohup nproc od paste patch
pathchk ping pr printenv printf ps ptx pwd readlink ReadOnlyBootPrompt rm pathchk ping pr printenv printf ps ptx pwd rc readlink ReadOnlyBootPrompt
rmattr rmdir safemode sdiff seq sha1sum shred shuf sleep sort split stat rm rmattr rmdir safemode sdiff seq sha1sum shred shuf sleep sort split stat
strace stty su sum sync sysinfo tac tail tee test timeout touch tr true strace stty su sum sync sysinfo tac tail tee test timeout touch tr true
truncate tsort tty unexpand uname uniq unlink unmount unzip <bin>updatedb truncate tsort tty unexpand uname uniq unlink unmount unzip <bin>updatedb
waitfor wc wget whoami xargs xres yes zdiff zforce zgrep zip zipcloak waitfor wc wget whoami xargs xres yes zdiff zforce zgrep zip zipcloak
+67 -12
View File
@@ -343,9 +343,8 @@ if [ IsOptionalHaikuImagePackageAdded BurnItNow ] {
# Bzip # Bzip
if [ IsOptionalHaikuImagePackageAdded Bzip ] { if [ IsOptionalHaikuImagePackageAdded Bzip ] {
if $(TARGET_ARCH) != x86 { if $(TARGET_ARCH) = x86 {
Echo "No optional package Bzip available for $(TARGET_ARCH)" ; if $(HAIKU_GCC_VERSION[1]) >= 4 {
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
InstallOptionalHaikuImagePackage InstallOptionalHaikuImagePackage
bzip2-1.0.6-r1a3-x86-gcc4-2011-05-24.zip bzip2-1.0.6-r1a3-x86-gcc4-2011-05-24.zip
: $(baseURL)/bzip2-1.0.6-r1a3-x86-gcc4-2011-05-24.zip : $(baseURL)/bzip2-1.0.6-r1a3-x86-gcc4-2011-05-24.zip
@@ -356,6 +355,14 @@ if [ IsOptionalHaikuImagePackageAdded Bzip ] {
: $(baseURL)/bzip2-1.0.6-r1a3-x86-gcc2-2011-05-17.zip : $(baseURL)/bzip2-1.0.6-r1a3-x86-gcc2-2011-05-17.zip
: : true ; : : true ;
} }
} else if $(TARGET_ARCH) = x86_64 {
InstallOptionalHaikuImagePackage
bzip2-1.0.6-x86_64-2012-08-16.zip
: $(baseURL)/bzip2-1.0.6-x86_64-2012-08-16.zip
: : true ;
} else {
Echo "No optional package Bzip available for $(TARGET_ARCH)" ;
}
} }
@@ -641,8 +648,8 @@ if [ IsOptionalHaikuImagePackageAdded Development ] && $(TARGET_ARCH) = x86 {
# DevelopmentBase # DevelopmentBase
if [ IsOptionalHaikuImagePackageAdded DevelopmentBase ] if [ IsOptionalHaikuImagePackageAdded DevelopmentBase ] {
&& $(TARGET_ARCH) = x86 { if $(TARGET_ARCH) = x86 {
# gcc and binutils # gcc and binutils
if $(HAIKU_GCC_VERSION[1]) = 2 || $(isHybridBuild) { if $(HAIKU_GCC_VERSION[1]) = 2 || $(isHybridBuild) {
InstallOptionalHaikuImagePackage InstallOptionalHaikuImagePackage
@@ -717,6 +724,43 @@ if [ IsOptionalHaikuImagePackageAdded DevelopmentBase ]
make-3.82-r1a3-x86-gcc2-2011-05-17.zip make-3.82-r1a3-x86-gcc2-2011-05-17.zip
: $(baseURL)/make-3.82-r1a3-x86-gcc2-2011-05-17.zip ; : $(baseURL)/make-3.82-r1a3-x86-gcc2-2011-05-17.zip ;
} }
} else if $(TARGET_ARCH) = x86_64 {
# gcc and binutils
InstallOptionalHaikuImagePackage
gcc-4.6.2-x86_64-2012-08-16.zip
: $(baseURL)/gcc-4.6.2-x86_64-2012-08-16.zip ;
# symlink cpp to g++'s headers
AddSymlinkToHaikuHybridImage develop abi x86_64 gcc4 headers
: ../tools/current/include/g++ : cpp ;
# symlink to the appropriate system/lib[/gcc4] folder
local libs = libstdc++.so libsupc++.so ;
for lib in $(libs) {
AddSymlinkToHaikuHybridImage
develop abi x86_64 gcc4 tools gcc-4.6.2-haiku-120816 lib
: /system/lib $(lib) : : true ;
}
InstallOptionalHaikuImagePackage
bison-2.5-x86_64-2012-08-12.zip
: $(baseURL)/bison-2.5-x86_64-2012-08-12.zip ;
InstallOptionalHaikuImagePackage
m4-1.4.16-x86_64-2012-08-12.zip
: $(baseURL)/m4-1.4.16-x86_64-2012-08-12.zip ;
InstallOptionalHaikuImagePackage
flex-2.5.35-x86_64-2012-08-12.zip
: $(baseURL)/flex-2.5.35-x86_64-2012-08-12.zip ;
InstallOptionalHaikuImagePackage
jam-2.5-x86_64-2012-08-12.zip
: $(baseURL)/jam-2.5-x86_64-2012-08-12.zip ;
InstallOptionalHaikuImagePackage
mkdepend-1.7-x86_64-2012-08-14.zip
: $(baseURL)/mkdepend-1.7-x86_64-2012-08-14.zip ;
InstallOptionalHaikuImagePackage
make-3.82-x86_64-2012-08-11.zip
: $(baseURL)/make-3.82-x86_64-2012-08-11.zip ;
}
} }
@@ -742,7 +786,8 @@ if [ IsOptionalHaikuImagePackageAdded DevelopmentJava ] {
# DevelopmentMin # DevelopmentMin
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ] && $(TARGET_ARCH) = x86 { if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ]
&& ( $(TARGET_ARCH) = x86 || $(TARGET_ARCH) = x86_64 ) {
if ! ( $(HAIKU_GCC_VERSION[1]) in 2 4 ) { if ! ( $(HAIKU_GCC_VERSION[1]) in 2 4 ) {
Exit "Optional package DevelopmentMin: Unsupported GCC version:" Exit "Optional package DevelopmentMin: Unsupported GCC version:"
$(HAIKU_GCC_VERSION[1]) ; $(HAIKU_GCC_VERSION[1]) ;
@@ -1657,9 +1702,8 @@ if [ IsOptionalHaikuImagePackageAdded Ruby ] {
# Sed # Sed
if [ IsOptionalHaikuImagePackageAdded Sed ] { if [ IsOptionalHaikuImagePackageAdded Sed ] {
if $(TARGET_ARCH) != x86 { if $(TARGET_ARCH) = x86 {
Echo "No optional package Sed available for $(TARGET_ARCH)" ; if $(HAIKU_GCC_VERSION[1]) >= 4 {
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
InstallOptionalHaikuImagePackage InstallOptionalHaikuImagePackage
sed-4.2.1-r1a3-x86-gcc4-2011-05-24.zip sed-4.2.1-r1a3-x86-gcc4-2011-05-24.zip
: $(baseURL)/sed-4.2.1-r1a3-x86-gcc4-2011-05-24.zip ; : $(baseURL)/sed-4.2.1-r1a3-x86-gcc4-2011-05-24.zip ;
@@ -1668,6 +1712,13 @@ if [ IsOptionalHaikuImagePackageAdded Sed ] {
sed-4.2.1-r1a3-x86-gcc2-2011-05-17.zip sed-4.2.1-r1a3-x86-gcc2-2011-05-17.zip
: $(baseURL)/sed-4.2.1-r1a3-x86-gcc2-2011-05-17.zip ; : $(baseURL)/sed-4.2.1-r1a3-x86-gcc2-2011-05-17.zip ;
} }
} else if $(TARGET_ARCH) = x86_64 {
InstallOptionalHaikuImagePackage
sed-4.2.1-x86_64-2012-08-14.zip
: $(baseURL)/sed-4.2.1-x86_64-2012-08-14.zip ;
} else {
Echo "No optional package Sed available for $(TARGET_ARCH)" ;
}
} }
@@ -1727,9 +1778,7 @@ if [ IsOptionalHaikuImagePackageAdded TagLib ] {
# Tar # Tar
if [ IsOptionalHaikuImagePackageAdded Tar ] { if [ IsOptionalHaikuImagePackageAdded Tar ] {
if $(TARGET_ARCH) != x86 { if $(TARGET_ARCH) = x86 {
Echo "No optional package Tar available for $(TARGET_ARCH)" ;
} else {
if $(HAIKU_GCC_VERSION[1]) >= 4 { if $(HAIKU_GCC_VERSION[1]) >= 4 {
InstallOptionalHaikuImagePackage InstallOptionalHaikuImagePackage
tar-1.26-x86-gcc4-2012-06-19.zip tar-1.26-x86-gcc4-2012-06-19.zip
@@ -1739,6 +1788,12 @@ if [ IsOptionalHaikuImagePackageAdded Tar ] {
tar-1.26-x86-gcc2-2012-06-21.zip tar-1.26-x86-gcc2-2012-06-21.zip
: $(baseURL)/tar-1.26-x86-gcc2-2012-06-21.zip ; : $(baseURL)/tar-1.26-x86-gcc2-2012-06-21.zip ;
} }
} else if $(TARGET_ARCH) = x86_64 {
InstallOptionalHaikuImagePackage
tar-1.26-x86_64-2012-08-12.zip
: $(baseURL)/tar-1.26-x86_64-2012-08-12.zip ;
} else {
Echo "No optional package Tar available for $(TARGET_ARCH)" ;
} }
} }
+1 -1
View File
@@ -17,7 +17,7 @@ BeMac|BeBox)
BE_HOST_CPU=ppc BE_HOST_CPU=ppc
;; ;;
*) *)
BE_HOST_CPU=unknown BE_HOST_CPU=`uname -m`
esac esac
BELIBRARIES="$BUILDHOME/abi/current/library-paths/common:$BUILDHOME/lib/$BE_HOST_CPU" BELIBRARIES="$BUILDHOME/abi/current/library-paths/common:$BUILDHOME/lib/$BE_HOST_CPU"