diff options
author | Richard Purdie <richard@openedhand.com> | 2007-12-18 15:04:06 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-12-18 15:04:06 +0000 |
commit | 34927dfa61c696442f297c284d546e443ed21485 (patch) | |
tree | 64f1c54a57ec1aebb1abb1cee682759d6581e04b | |
parent | ce30130b7c9b12a44368a3db4678e31fdc3adca4 (diff) | |
download | poky-34927dfa61c696442f297c284d546e443ed21485.tar.gz |
Sync various tweaks from OE, change default SRCREV policy to not auto increment rather than hitting the network.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3345 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/conf/bitbake.conf | 23 | ||||
-rw-r--r-- | meta/packages/autoconf/autoconf_2.61.bb | 8 | ||||
-rw-r--r-- | meta/site/common-glibc | 7 |
3 files changed, 27 insertions, 11 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 218e80301c..20425d8050 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -109,7 +109,18 @@ DATETIME = "${DATE}${TIME}" | |||
109 | 109 | ||
110 | # python-native should be here but python relies on building | 110 | # python-native should be here but python relies on building |
111 | # its own in staging | 111 | # its own in staging |
112 | ASSUME_PROVIDED = "cvs-native svn-native bzip2-native diffstat-native patch-native python-native-runtime perl-native-runtime texinfo-native util-linux-native grep-native" | 112 | ASSUME_PROVIDED = "\ |
113 | bzip2-native \ | ||
114 | cvs-native \ | ||
115 | grep-native \ | ||
116 | diffstat-native \ | ||
117 | patch-native \ | ||
118 | perl-native-runtime \ | ||
119 | python-native-runtime \ | ||
120 | svn-native \ | ||
121 | texinfo-native \ | ||
122 | util-linux-native \ | ||
123 | " | ||
113 | 124 | ||
114 | ################################################################## | 125 | ################################################################## |
115 | # Package default variables. | 126 | # Package default variables. |
@@ -438,7 +449,7 @@ UPDATECOMMAND = "ERROR, this must be a BitBake bug" | |||
438 | UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}" | 449 | UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}" |
439 | UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}" | 450 | UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}" |
440 | SRCDATE = "${DATE}" | 451 | SRCDATE = "${DATE}" |
441 | SRCREV = "${@bb.fetch.get_srcrev(d)}" | 452 | SRCREV = "1" |
442 | AUTOREV = "${@bb.fetch.get_srcrev(d)}" | 453 | AUTOREV = "${@bb.fetch.get_srcrev(d)}" |
443 | 454 | ||
444 | SRC_URI = "file://${FILE}" | 455 | SRC_URI = "file://${FILE}" |
@@ -511,9 +522,10 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}" | |||
511 | # when ${MACHINE} is 'ramses'. And finally '<foo>_local' overrides anything. | 522 | # when ${MACHINE} is 'ramses'. And finally '<foo>_local' overrides anything. |
512 | # | 523 | # |
513 | # This works for functions as well, they are really just environment variables. | 524 | # This works for functions as well, they are really just environment variables. |
514 | #OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}" | 525 | # Default OVERRIDES to make compilation fail fast in case of build system misconfiguration. |
515 | # Alternative OVERRIDES to make compilation fail fast, we will enable it by default soon | ||
516 | OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}" | 526 | OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}" |
527 | # Alternative OVERRIDES definition without "fail fast", usually only for native building and Scratchbox toolchains. | ||
528 | #OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}" | ||
517 | 529 | ||
518 | ################################################################## | 530 | ################################################################## |
519 | # Include the rest of the config files. | 531 | # Include the rest of the config files. |
@@ -536,7 +548,8 @@ require conf/sanity.conf | |||
536 | DL_DIR ?= "${TMPDIR}/downloads" | 548 | DL_DIR ?= "${TMPDIR}/downloads" |
537 | IMAGE_FSTYPES ?= "jffs2" | 549 | IMAGE_FSTYPES ?= "jffs2" |
538 | PCMCIA_MANAGER ?= "pcmcia-cs" | 550 | PCMCIA_MANAGER ?= "pcmcia-cs" |
539 | MACHINE_TASK_PROVIDER ?= "task-base" | 551 | DEFAULT_TASK_PROVIDER ?= "task-base" |
552 | MACHINE_TASK_PROVIDER ?= "${DEFAULT_TASK_PROVIDER}" | ||
540 | IMAGE_ROOTFS_SIZE_ext2 ?= "65536" | 553 | IMAGE_ROOTFS_SIZE_ext2 ?= "65536" |
541 | IMAGE_ROOTFS_SIZE_ext2.gz ?= "65536" | 554 | IMAGE_ROOTFS_SIZE_ext2.gz ?= "65536" |
542 | IMAGE_ROOTFS_SIZE_ext3 ?= "65536" | 555 | IMAGE_ROOTFS_SIZE_ext3 ?= "65536" |
diff --git a/meta/packages/autoconf/autoconf_2.61.bb b/meta/packages/autoconf/autoconf_2.61.bb index fe210a1003..6b92dc8120 100644 --- a/meta/packages/autoconf/autoconf_2.61.bb +++ b/meta/packages/autoconf/autoconf_2.61.bb | |||
@@ -2,6 +2,8 @@ require autoconf.inc | |||
2 | 2 | ||
3 | PR = "r1" | 3 | PR = "r1" |
4 | 4 | ||
5 | PARALLEL_MAKE = "" | ||
6 | |||
5 | DEPENDS += "m4-native" | 7 | DEPENDS += "m4-native" |
6 | RDEPENDS_${PN} = "m4 gnu-config" | 8 | RDEPENDS_${PN} = "m4 gnu-config" |
7 | 9 | ||
@@ -12,9 +14,3 @@ SRC_URI += "file://autoreconf-include.patch;patch=1 \ | |||
12 | file://autoheader-nonfatal-warnings.patch;patch=1 \ | 14 | file://autoheader-nonfatal-warnings.patch;patch=1 \ |
13 | file://config-site.patch;patch=1 \ | 15 | file://config-site.patch;patch=1 \ |
14 | ${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}" | 16 | ${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}" |
15 | |||
16 | # | ||
17 | # without it build break: | ||
18 | # | make[1]: *** No rule to make target `../bin/autom4te', needed by `autoconf.in'. Stop. | ||
19 | # | ||
20 | PARALLEL_MAKE = "" | ||
diff --git a/meta/site/common-glibc b/meta/site/common-glibc index 362fe538cd..0ec53423f1 100644 --- a/meta/site/common-glibc +++ b/meta/site/common-glibc | |||
@@ -37,3 +37,10 @@ ac_cv_func_pthread_attr_getstack=${ac_cv_func_pthread_attr_getstack=yes} | |||
37 | ac_cv_func_getpagesize=${ac_cv_func_getpagesize=yes} | 37 | ac_cv_func_getpagesize=${ac_cv_func_getpagesize=yes} |
38 | ac_cv_func_memcpy=${ac_cv_func_memcpy=yes} | 38 | ac_cv_func_memcpy=${ac_cv_func_memcpy=yes} |
39 | ac_cv_func_strerror=${ac_cv_func_strerror=yes} | 39 | ac_cv_func_strerror=${ac_cv_func_strerror=yes} |
40 | |||
41 | # squid | ||
42 | ac_cv_af_unix_large_dgram=${ac_cv_af_unix_large_dgram=yes} | ||
43 | ac_cv_func_setresuid=${ac_cv_func_setresuid=yes} | ||
44 | ac_cv_func_va_copy=${ac_cv_func_va_copy=yes} | ||
45 | ac_cv_func___va_copy=${ac_cv_func___va_copy=yes} | ||
46 | ac_cv_epoll_works=${ac_cv_epoll_works=yes} | ||