summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-05 19:38:52 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:27 +0000
commite1ba0ea25d76eba318f78a1dac1973f3f9275f1b (patch)
treeeb3428df4b2ea442a9a5d4c221e030476d827792 /meta/packages
parent0b1aee31634c1bd7e65c08beb0144fd7970a61f9 (diff)
downloadpoky-e1ba0ea25d76eba318f78a1dac1973f3f9275f1b.tar.gz
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>
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/gmp/gmp-native.inc19
-rw-r--r--meta/packages/gmp/gmp-native_4.2.4.bb3
-rw-r--r--meta/packages/gmp/gmp-nativesdk.inc29
-rw-r--r--meta/packages/gmp/gmp-nativesdk_4.2.4.bb2
-rw-r--r--meta/packages/gmp/gmp_4.2.4.bb2
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 362d290319..0000000000
--- a/meta/packages/gmp/gmp-native.inc
+++ /dev/null
@@ -1,19 +0,0 @@
1require gmp_${PV}.bb
2inherit native
3
4# darwin 'hacks'
5EXTRA_OECONF_build-darwin = " --enable-shared "
6OLD_STAGING := "${STAGING_BINDIR}"
7OLD_TARGET := "${TARGET_SYS}"
8OLD_HOST := "${HOST_SYS}"
9OLD_BUILD := "${BUILD_SYS}"
10
11PATH_prepend_build-darwin = "${OLD_STAGING}/${OLD_HOST}:${OLD_STAGING}:"
12
13TARGET_SYS_build-darwin = "none-apple-darwin"
14HOST_SYS_build-darwin = "none-apple-darwin"
15BUILD_SYS_build-darwin = "none-apple-darwin"
16
17do_compile_append_build-darwin() {
18 oe_runmake check
19}
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 96e440756c..0000000000
--- a/meta/packages/gmp/gmp-native_4.2.4.bb
+++ /dev/null
@@ -1,3 +0,0 @@
1PV = "4.2.4"
2require gmp-native.inc
3PR = "r0"
diff --git a/meta/packages/gmp/gmp-nativesdk.inc b/meta/packages/gmp/gmp-nativesdk.inc
deleted file mode 100644
index 337c14d7cf..0000000000
--- a/meta/packages/gmp/gmp-nativesdk.inc
+++ /dev/null
@@ -1,29 +0,0 @@
1inherit nativesdk
2
3oe_runconf () {
4 if [ -x ${S}/configure ] ; then
5 cfgcmd="${S}/configure \
6 --build=${BUILD_SYS} \
7 --host=${HOST_SYS} \
8 --prefix=${prefix} \
9 --exec_prefix=${exec_prefix} \
10 --bindir=${bindir} \
11 --sbindir=${sbindir} \
12 --libexecdir=${libexecdir} \
13 --datadir=${datadir} \
14 --sysconfdir=${sysconfdir} \
15 --sharedstatedir=${sharedstatedir} \
16 --localstatedir=${localstatedir} \
17 --libdir=${libdir} \
18 --includedir=${includedir} \
19 --oldincludedir=${oldincludedir} \
20 --infodir=${infodir} \
21 --mandir=${mandir} \
22 ${EXTRA_OECONF} \
23 $@"
24 oenote "Running $cfgcmd..."
25 $cfgcmd || oefatal "oe_runconf failed"
26 else
27 oefatal "no configure script found"
28 fi
29}
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 7498064831..0000000000
--- a/meta/packages/gmp/gmp-nativesdk_4.2.4.bb
+++ /dev/null
@@ -1,2 +0,0 @@
1require gmp_${PV}.bb
2require gmp-nativesdk.inc
diff --git a/meta/packages/gmp/gmp_4.2.4.bb b/meta/packages/gmp/gmp_4.2.4.bb
index 33f8ea287a..5c1bdc9828 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 \
5 " 5 "
6require gmp.inc 6require gmp.inc
7LICENSE = "GPLv3 LGPLv3" 7LICENSE = "GPLv3 LGPLv3"
8
9BBCLASSEXTEND = "native nativesdk" \ No newline at end of file