diff options
98 files changed, 2910 insertions, 76 deletions
diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass index 1be7bf8c33..e98edb4777 100644 --- a/classes/tinderclient.bbclass +++ b/classes/tinderclient.bbclass @@ -1,9 +1,6 @@ def tinder_form_data(bound, dict, log): - """ - Create the boundary for the HTTP Post - """ output = [] - + #br # for each key in the dictionary for name in dict: output.append( "--" + bound ) @@ -257,7 +254,7 @@ def tinder_do_tinder_report(event): name = getName(event) log = "" status = 1 - + #print asd # Check what we need to do Build* shows we start or are done if name == "BuildStarted": tinder_build_start(event.data) @@ -295,8 +292,18 @@ def tinder_do_tinder_report(event): log += "<--- TINDERBOX Package %s failed (FAILURE)\n" % data.getVar('P', event.data, True) status = 200 elif name == "BuildCompleted": - log += "Build Completed\n" + log += "Build Completed\n" status = 100 + elif name == "MultipleProviders": + log += "<--- TINDERBOX Multiple Providers\n" + log += "multiple providers are available (%s);\n" % ", ".join(event.getCandidates()) + log += "consider defining PREFERRED_PROVIDER_%s\n" % event.getItem() + log += "is runtime: %d" % event.isRuntime() + log += "---> TINDERBOX Multiple Providers\n" + elif name == "NoProvider": + log += "Error: No Provider for: %s\n" % event.getItem() + log += "Error:Was Runtime: %d\n" % event.isRuntime() + status = 200 # now post the log if len(log) == 0: @@ -312,7 +319,6 @@ addhandler tinderclient_eventhandler python tinderclient_eventhandler() { from bb import note, error, data from bb.event import NotHandled - do_tinder_report = data.getVar('TINDER_REPORT', e.data, True) if do_tinder_report and do_tinder_report == "1": tinder_do_tinder_report(e) diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 6afd6ca2cd..a2ba5e6382 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -72,7 +72,7 @@ DATETIME = "${DATE}${TIME}" # python-native should be here but python relies on building # its own in staging -ASSUME_PROVIDED = "cvs-native svn-native bzip2-native diffstat-native patch-native python-native-runtime perl-native-runtime" +ASSUME_PROVIDED = "cvs-native svn-native bzip2-native diffstat-native patch-native python-native-runtime perl-native-runtime texinfo-native" ################################################################## # Package default variables. diff --git a/conf/distro/angstrom-2006.9.conf b/conf/distro/angstrom-2006.9.conf index be0f5e93fe..37756ac5ef 100644 --- a/conf/distro/angstrom-2006.9.conf +++ b/conf/distro/angstrom-2006.9.conf @@ -33,7 +33,7 @@ PREFERRED_VERSION_qte = "2.3.10" PREFERRED_PROVIDERS += "virtual/xserver:xserver-kdrive" PREFERRED_PROVIDERS += "virtual/gconf:gconf-dbus" -#PREFERRED_PROVIDER_libx11 = "diet-x11" +PREFERRED_PROVIDER_libx11 = "diet-x11" PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" @@ -44,21 +44,18 @@ PREFERRED_PROVIDER_virtual/libiconv = "glibc" PREFERRED_PROVIDER_virtual/libintl = "glibc" #EABI stuff -#PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-libc-for-gcc = "glibc-intermediate" -PREFERRED_VERSION_gcc ?= "4.0.2" -PREFERRED_VERSION_gcc-cross ?= "4.0.2" -PREFERRED_VERSION_gcc-cross-initial ?= "4.0.2" - +PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-libc-for-gcc = "glibc-intermediate" +PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc-intermediate" #use EABI toolchain -#PREFERRED_VERSION_gcc ?= "4.1.0" -#PREFERRED_VERSION_gcc-cross ?= "4.1.0" -#PREFERRED_VERSION_gcc-cross-initial ?= "4.1.0" -#PREFERRED_VERSION_binutils ?= "2.16.91.0.6" -#PREFERRED_VERSION_binutils-cross ?= "2.16.91.0.6" -#PREFERRED_VERSION_glibc ?= "2.3.6+cvs20060314" -#PREFERRED_VERSION_glibc-intermediate ?= "2.3.6+cvs20060314" +PREFERRED_VERSION_gcc ?= "4.1.0" +PREFERRED_VERSION_gcc-cross ?= "4.1.0" +PREFERRED_VERSION_gcc-cross-initial ?= "4.1.0" +PREFERRED_VERSION_binutils ?= "2.16.91.0.6" +PREFERRED_VERSION_binutils-cross ?= "2.16.91.0.6" +PREFERRED_VERSION_glibc ?= "2.4" +PREFERRED_VERSION_glibc-intermediate ?= "2.4" PREFERRED_VERSION_orinoco-modules_h3600 = "0.13e" diff --git a/conf/distro/angstrom.conf b/conf/distro/angstrom.conf index 3102e53062..c63a5c53b7 100644 --- a/conf/distro/angstrom.conf +++ b/conf/distro/angstrom.conf @@ -17,12 +17,13 @@ INHERIT += "package_ipk debian" #use multimachine buildrules include conf/distro/include/multimachine.conf -#Generate locales on the buildsystem instead of on the target. Speeds up first boot -ENABLE_BINARY_LOCALE_GENERATION ?= "1" +#Generate locales on the buildsystem instead of on the target. Speeds up first boot, set to "1" to enable +ENABLE_BINARY_LOCALE_GENERATION ?= "" -#EABI isn't working yet, so we'll use TARGET_OS = linux in the meantime -#TARGET_OS = "none-linux-gnueabi" +#Use the ARM EABI when building for an ARM cpu. +TARGET_VENDOR_arm = "-none" +TARGET_OS_arm = "linux-gnueabi" TARGET_OS = "linux" #mess with compiler flags to use -Os instead of -O2 @@ -30,11 +31,12 @@ TARGET_OS = "linux" FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os" BUILD_OPTIMIZATION = "-Os" -#eabi is softfloat by default, but let's make sure :) +#EABI is softfloat by default, but let's make sure :) TARGET_FPU = "soft" PARALLEL_INSTALL_MODULES = "1" +#Always ship these packages BOOTSTRAP_EXTRA_DEPENDS += "angstrom-version dropbear sysvinit" BOOTSTRAP_EXTRA_RDEPENDS += "angstrom-version dropbear sysvinit" @@ -42,4 +44,5 @@ BOOTSTRAP_EXTRA_RDEPENDS += "angstrom-version dropbear sysvinit" IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}" DEPLOY_DIR_IMAGE = ${DEPLOY_DIR}/images/${MACHINE} +# Angstrom *always* has some form of release config, so error out if someone thinks he knows better DISTRO_CHECK := "${@bb.data.getVar("DISTRO_VERSION",d,1) or bb.fatal('Remove this line or set a dummy DISTRO_VERSION if you really want to build an unversioned distro')}" diff --git a/conf/distro/slugos-packages.conf b/conf/distro/slugos-packages.conf index 85afa71d35..5d82b4f9f7 100644 --- a/conf/distro/slugos-packages.conf +++ b/conf/distro/slugos-packages.conf @@ -1,5 +1,6 @@ BBFILES := "\ ${PKGDIR}/packages/alsa/*.bb \ +${PKGDIR}/packages/apr/*.bb \ ${PKGDIR}/packages/atftp/*.bb \ ${PKGDIR}/packages/audiofile/*.bb \ ${PKGDIR}/packages/aumix/*.bb \ @@ -38,6 +39,7 @@ ${PKGDIR}/packages/dbus/*.bb \ ${PKGDIR}/packages/devio/*.bb \ ${PKGDIR}/packages/device-mapper/*.bb \ ${PKGDIR}/packages/devlabel/*.bb \ +${PKGDIR}/packages/didiwiki/*.bb \ ${PKGDIR}/packages/diffstat/*.bb \ ${PKGDIR}/packages/diffutils/*.bb \ ${PKGDIR}/packages/dnsmasq/*.bb \ @@ -67,7 +69,9 @@ ${PKGDIR}/packages/glib-1.2/*.bb \ ${PKGDIR}/packages/glib-2.0/*.bb \ ${PKGDIR}/packages/glibc/*.bb \ ${PKGDIR}/packages/gnu-config/*.bb \ +${PKGDIR}/packages/gnutls/*.bb \ ${PKGDIR}/packages/gphoto2/*.bb \ +${PKGDIR}/packages/gpsd/*.bb \ ${PKGDIR}/packages/grep/*.bb \ ${PKGDIR}/packages/groff/*.bb \ ${PKGDIR}/packages/gtk-doc/*.bb \ @@ -172,6 +176,7 @@ ${PKGDIR}/packages/openvpn/*.bb \ ${PKGDIR}/packages/pam/*.bb \ ${PKGDIR}/packages/patch/*.bb \ ${PKGDIR}/packages/patcher/*.bb \ +${PKGDIR}/packages/patchutils/*.bb \ ${PKGDIR}/packages/pciutils/*.bb \ ${PKGDIR}/packages/pcmcia-cs/*.bb \ ${PKGDIR}/packages/pcre/*.bb \ @@ -208,6 +213,7 @@ ${PKGDIR}/packages/spca5xx/*.bb \ ${PKGDIR}/packages/ssmtp/*.bb \ ${PKGDIR}/packages/strace/*.bb \ ${PKGDIR}/packages/streamripper/*.bb \ +${PKGDIR}/packages/subversion/*.bb \ ${PKGDIR}/packages/sudo/*.bb \ ${PKGDIR}/packages/sysfsutils/*.bb \ ${PKGDIR}/packages/syslog-ng/*.bb \ @@ -215,6 +221,7 @@ ${PKGDIR}/packages/sysvinit/*.bb \ ${PKGDIR}/packages/tar/*.bb \ ${PKGDIR}/packages/tcltk/*.bb \ ${PKGDIR}/packages/thttpd/*.bb \ +${PKGDIR}/packages/time/*.bb \ ${PKGDIR}/packages/timezones/*.bb \ ${PKGDIR}/packages/tinylogin/*.bb \ ${PKGDIR}/packages/uclibc/*.bb \ @@ -232,6 +239,7 @@ ${PKGDIR}/packages/vpnc/*.bb \ ${PKGDIR}/packages/vsftpd/*.bb \ ${PKGDIR}/packages/wakelan/*.bb \ ${PKGDIR}/packages/wget/*.bb \ +${PKGDIR}/packages/whois/*.bb \ ${PKGDIR}/packages/wireless-tools/*.bb \ ${PKGDIR}/packages/wpa-supplicant/*.bb \ ${PKGDIR}/packages/wview/*.bb \ diff --git a/conf/documentation.conf b/conf/documentation.conf index 19aaf2dd48..e0868eefe4 100644 --- a/conf/documentation.conf +++ b/conf/documentation.conf @@ -20,6 +20,7 @@ HOST_VENDOR[doc] = "The name of the vendor. Normally same as the TARGET_VENDOR @ HOST_SYS[doc] = "FIXME" HOST_PREFIX[doc] = "Normally same as the TARGET_PREFIX @see TARGET_PREFIX @group base" HOST_CC_ARCH[doc] = "Normally same as the TARGET_CC_ARCH @see TARGET_CC_ARCH @group base" +HOST_NONSYSV[doc] = "Setable flag in local.conf to override SysV specific compiles when needed. 1 or 0 are usable values. See fakeroot-native for example." TARGET_ARCH[doc] = "Build for which architecture. Examples are arm, i686, sh3, mips, powerpc" TARGET_OS[doc] = "Build for which Operating System. Currently possible values are \ @@ -73,3 +74,5 @@ CVSDIR[doc] = "The directory where cvs checkouts will be stored in." STAMP[doc] = "The directory that holds files to keep track of what was built" WORKDIR[doc] = "The directory where a concrete package will be unpacked and built" T[doc] = "Temporary directory within the WORKDIR" +ENABLE_BINARY_LOCALE_GENERATION[doc] = "Enable the use of qemu to generate locale information during build time on the host instead of runtime on the target. IF you have trouble with qemu you should make this an empty var" + diff --git a/conf/local.conf.sample b/conf/local.conf.sample index cbe829c2a1..9ea8897bff 100644 --- a/conf/local.conf.sample +++ b/conf/local.conf.sample @@ -78,6 +78,16 @@ PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross" # Stay away from unversioned distros unl |
