]> git.openpandora.org Git - openembedded.git/commitdiff
Don't inherit siteinfo in base.bbclass
authorChris Larson <chris_larson@mentor.com>
Tue, 9 Mar 2010 23:54:57 +0000 (16:54 -0700)
committerChris Larson <chris_larson@mentor.com>
Fri, 19 Mar 2010 17:41:54 +0000 (10:41 -0700)
Acked-by: Richard Purdie <rpurdie@linux.intel.com>
Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
13 files changed:
classes/autotools.bbclass
classes/base.bbclass
classes/siteinfo.bbclass
recipes/arm-kernel-shim/arm-kernel-shim_1.5.bb
recipes/espeak/espeak_1.37.bb
recipes/gnash/gnash.inc
recipes/hping/hping2_1.9.9+2.0.0rc3.bb
recipes/linux/ixp4xx-kernel.inc
recipes/linux/linux.inc
recipes/net-snmp/net-snmp.inc
recipes/ogre/ogre-egl_svn.bb
recipes/openssl/openssl.inc
recipes/perl/perl_5.8.8.bb

index c53583b8b67e16cc296ea754fcc6830f89c01527..31d357892a8b5a6d6eae76d6008695606cb0a61e 100644 (file)
@@ -28,6 +28,12 @@ DEPENDS_prepend = "${@autotools_dep_prepend(d)}"
 DEPENDS_virtclass-native_prepend = "${@autotools_dep_prepend(d)}"
 DEPENDS_virtclass-nativesdk_prepend = "${@autotools_dep_prepend(d)}"
 
+inherit siteinfo
+
+# Space separated list of shell scripts with variables defined to supply test
+# results for autoconf tests we cannot run at build time.
+export CONFIG_SITE = "${@siteinfo_get_files(d)}"
+
 acpaths = "default"
 EXTRA_AUTORECONF = "--exclude=autopoint"
 
index 09eb70989a37e047a6fe37d09f7e577220da6fbe..76f97d865f492508e3614991f1f8a23c7614146e 100644 (file)
@@ -1355,10 +1355,6 @@ def check_app_exists(app, d):
 # Patch handling
 inherit patch
 
-# Configuration data from site files
-# Move to autotools.bbclass?
-inherit siteinfo
-
 EXPORT_FUNCTIONS do_setscene do_clean do_mrproper do_distclean do_fetch do_unpack do_configure do_compile do_install do_package do_populate_pkgs do_rebuild do_fetchall
 
 MIRRORS[func] = "0"
index 93cee4f8909d2f8dff41bd50080a345933e7717f..d7f27054b056ac10a2fd2cb16c699994bd424669 100644 (file)
@@ -112,14 +112,6 @@ def siteinfo_get_files(d):
        bb.debug(1, "SITE files " + sitefiles);
        return sitefiles
 
-#
-# Export CONFIG_SITE to the enviroment. The autotools will make use
-# of this to determine where to load in variables from. This is a
-# space seperate list of shell scripts processed in the order listed.
-#
-export CONFIG_SITE = "${@siteinfo_get_files(d)}"
-
-
 def siteinfo_get_endianess(d):
        info = get_siteinfo_list(d)
        if 'endian-little' in info:
@@ -141,5 +133,3 @@ def siteinfo_get_bits(d):
 #
 SITEINFO_ENDIANESS  = "${@siteinfo_get_endianess(d)}"
 SITEINFO_BITS       = "${@siteinfo_get_bits(d)}"
-
-
index 5e2bbb83cc91748eb414cf88d5333154820c2e84..591a32f6f9743ecfe228608cb5177158683bf296 100644 (file)
@@ -15,6 +15,8 @@ SRC_URI = "ftp://ftp.buici.com/pub/arm/arm-kernel-shim/arm-kernel-shim-${PV}.tar
 
 S = ${WORKDIR}/arm-kernel-shim-${PV}
 
+inherit siteinfo
+
 CMDLINE_CONSOLE = "console=${@bb.data.getVar("KERNEL_CONSOLE",d,1) or "ttyS0"}"
 
 CMDLINE_ROOT_DSMG600 = "root=/dev/mtdblock2 rootfstype=jffs2 rootflags=noatime rw init=/linuxrc"
index 2a5baf24203b8afc02f66f03615c4656c34d460d..f465f6f270391aa7f27c1827bda0852ef43b03ba 100644 (file)
@@ -1,4 +1,5 @@
 require espeak.inc
+inherit siteinfo
 
 EXTRA_PHONEMES = '${@base_contains("SITEINFO_ENDIANESS", "be",  "espeak-data (= ${PV})", "", d)}'
 RDEPENDS_${PN} = "portaudio-v19 ${EXTRA_PHONEMES}"
index bad1ae60ba1393b128d46400d827139296542eb8..159fb414dfc5eb19da1a28a8af2535d8365e5312 100644 (file)
@@ -9,7 +9,7 @@ PR = "r6"
 SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gnash/${PV}/gnash-${PV}.tar.bz2 \
           "
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig siteinfo
 
 EXTRA_OECONF = "--enable-gui=gtk \
                 --enable-renderer=cairo \
index 471be84d292411710f5edb7641f624e8efc096d0..f8f4bb72817f7fc4e437e65f27115f3352301598 100644 (file)
@@ -14,6 +14,8 @@ SRC_URI = "http://www.hping.org/hping2.0.0-rc3.tar.gz \
           file://hping2_configure.patch;patch=1"
 S = "${WORKDIR}/hping2-rc3"
 
+inherit siteinfo
+
 #
 # We've patched configure to accept byte order and ostype as env
 # variables Pass those values in to stop it trying to figure it out
index 10779c52c7a2d574ea88c3ef527d85ef83ab588b..6422177f34fac09014f88a98834714e9057ccc8f 100644 (file)
@@ -153,7 +153,7 @@ SRC_URI += "${IXP4XX_PATCHES}"
 COMPATIBLE_HOST = 'arm.*-linux.*'
 COMPATIBLE_MACHINE = '(ixp4xx|nslu2|fsg3)'
 
-inherit kernel
+inherit kernel siteinfo
 
 ARCH = "arm"
 
index 2da1df82c8b9fb49bc254d84652783b49262ed48..39d04e19ae375f919151ef4b53af96f23ebc62c0 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux Kernel"
 SECTION = "kernel"
 LICENSE = "GPLv2"
 
-inherit kernel
+inherit kernel siteinfo
 
 RPSRC = "http://www.rpsys.net/openzaurus/patches/archive"
 
index 7ba48c6dece8804584d0c7e7417a55e623c881d2..a96ae70f39dd1e9c5f9651278e8064627220ebc1 100644 (file)
@@ -8,7 +8,7 @@ RDEPENDS_${PN}-dev = "net-snmp-client (= ${EXTENDPV}) net-snmp-server (= ${EXTEN
 RRECOMMENDS_${PN}-dbg = "net-snmp-client (= ${EXTENDPV}) net-snmp-server (= ${EXTENDPV})"
 INC_PR = "r5"
 
-inherit autotools update-rc.d
+inherit autotools update-rc.d siteinfo
 
 TARGET_CC_ARCH += "${LDFLAGS}"
 
index 82c78620135e8d94cc318059fab419b91b7bd330..abebf9d159dfd19d8b2ab21ef9eb2856605b9fbc 100644 (file)
@@ -11,7 +11,7 @@ SRC_URI = "svn://ogre.svn.sourceforge.net/svnroot/ogre;module=trunk;proto=https
            file://ogre-egl-update.diff;patch=1;pnum=0 \
           "
 
-inherit autotools_stage
+inherit autotools_stage siteinfo
 
 # This is the EGL version
 EXTRA_OECONF = " --with-gui=gtk --disable-freetypetest --enable-ogre-demos --with-allocator=std --enable-threading=no --disable-cg --enable-gles "
index a06033b0ecc7403c93d43d4d78e7a902da2d469f..28e0c921a8359a7f51bb6306ed9ea69ded6bf8d1 100644 (file)
@@ -6,6 +6,8 @@ SECTION = "libs/network"
 SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz;name=src"
 S = "${WORKDIR}/openssl-${PV}"
 
+inherit siteinfo
+
 INC_PR = "r11"
 
 AR_append = " r"
index f084630cf908c45873c36f5efc3829a2c15f6398..2019ea6e03547a898ccc63f4f3f8ba384f958f3d 100644 (file)
@@ -41,6 +41,8 @@ SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/5.0/perl-5.8.8.tar.gz;name=perl588ta
         file://config.sh-64-le \
         file://config.sh-64-be"
 
+inherit siteinfo
+
 # Where to find the native perl
 HOSTPERL = "${STAGING_BINDIR_NATIVE}/perl${PV}"