diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-05 19:38:52 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:27 +0000 |
commit | e1ba0ea25d76eba318f78a1dac1973f3f9275f1b (patch) | |
tree | eb3428df4b2ea442a9a5d4c221e030476d827792 | |
parent | 0b1aee31634c1bd7e65c08beb0144fd7970a61f9 (diff) | |
download | openembedded-core-e1ba0ea25d76eba318f78a1dac1973f3f9275f1b.tar.gz openembedded-core-e1ba0ea25d76eba318f78a1dac1973f3f9275f1b.tar.bz2 openembedded-core-e1ba0ea25d76eba318f78a1dac1973f3f9275f1b.tar.xz openembedded-core-e1ba0ea25d76eba318f78a1dac1973f3f9275f1b.zip |
gmp: Convert to BBCLASSEXTEND
* darwin build hacks dropped - need proper fixes
* nativesdk custom do_configure should no longer be needed
with sdk changes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/packages/gmp/gmp-native.inc | 19 | ||||
-rw-r--r-- | meta/packages/gmp/gmp-native_4.2.4.bb | 3 | ||||
-rw-r--r-- | meta/packages/gmp/gmp-nativesdk.inc | 29 | ||||
-rw-r--r-- | meta/packages/gmp/gmp-nativesdk_4.2.4.bb | 2 | ||||
-rw-r--r-- | meta/packages/gmp/gmp_4.2.4.bb | 2 |
5 files changed, 2 insertions, 53 deletions
diff --git a/meta/packages/gmp/gmp-native.inc b/meta/packages/gmp/gmp-native.inc deleted file mode 100644 index 362d29031..000000000 --- a/meta/packages/gmp/gmp-native.inc +++ /dev/null @@ -1,19 +0,0 @@ -require gmp_${PV}.bb -inherit native - -# darwin 'hacks' -EXTRA_OECONF_build-darwin = " --enable-shared " -OLD_STAGING := "${STAGING_BINDIR}" -OLD_TARGET := "${TARGET_SYS}" -OLD_HOST := "${HOST_SYS}" -OLD_BUILD := "${BUILD_SYS}" - -PATH_prepend_build-darwin = "${OLD_STAGING}/${OLD_HOST}:${OLD_STAGING}:" - -TARGET_SYS_build-darwin = "none-apple-darwin" -HOST_SYS_build-darwin = "none-apple-darwin" -BUILD_SYS_build-darwin = "none-apple-darwin" - -do_compile_append_build-darwin() { - oe_runmake check -} diff --git a/meta/packages/gmp/gmp-native_4.2.4.bb b/meta/packages/gmp/gmp-native_4.2.4.bb deleted file mode 100644 index 96e440756..000000000 --- a/meta/packages/gmp/gmp-native_4.2.4.bb +++ /dev/null @@ -1,3 +0,0 @@ -PV = "4.2.4" -require gmp-native.inc -PR = "r0" diff --git a/meta/packages/gmp/gmp-nativesdk.inc b/meta/packages/gmp/gmp-nativesdk.inc deleted file mode 100644 index 337c14d7c..000000000 --- a/meta/packages/gmp/gmp-nativesdk.inc +++ /dev/null @@ -1,29 +0,0 @@ -inherit nativesdk - -oe_runconf () { - if [ -x ${S}/configure ] ; then - cfgcmd="${S}/configure \ - --build=${BUILD_SYS} \ - --host=${HOST_SYS} \ - --prefix=${prefix} \ - --exec_prefix=${exec_prefix} \ - --bindir=${bindir} \ - --sbindir=${sbindir} \ - --libexecdir=${libexecdir} \ - --datadir=${datadir} \ - --sysconfdir=${sysconfdir} \ - --sharedstatedir=${sharedstatedir} \ - --localstatedir=${localstatedir} \ - --libdir=${libdir} \ - --includedir=${includedir} \ - --oldincludedir=${oldincludedir} \ - --infodir=${infodir} \ - --mandir=${mandir} \ - ${EXTRA_OECONF} \ - $@" - oenote "Running $cfgcmd..." - $cfgcmd || oefatal "oe_runconf failed" - else - oefatal "no configure script found" - fi -} diff --git a/meta/packages/gmp/gmp-nativesdk_4.2.4.bb b/meta/packages/gmp/gmp-nativesdk_4.2.4.bb deleted file mode 100644 index 749806483..000000000 --- a/meta/packages/gmp/gmp-nativesdk_4.2.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -require gmp_${PV}.bb -require gmp-nativesdk.inc diff --git a/meta/packages/gmp/gmp_4.2.4.bb b/meta/packages/gmp/gmp_4.2.4.bb index 33f8ea287..5c1bdc982 100644 --- a/meta/packages/gmp/gmp_4.2.4.bb +++ b/meta/packages/gmp/gmp_4.2.4.bb @@ -5,3 +5,5 @@ SRC_URI_append += "file://sh4-asmfix.patch;patch=1 \ " require gmp.inc LICENSE = "GPLv3 LGPLv3" + +BBCLASSEXTEND = "native nativesdk"
\ No newline at end of file |