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 /meta/packages | |
parent | 0b1aee31634c1bd7e65c08beb0144fd7970a61f9 (diff) | |
download | poky-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.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 362d290319..0000000000 --- a/meta/packages/gmp/gmp-native.inc +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | require gmp_${PV}.bb | ||
2 | inherit native | ||
3 | |||
4 | # darwin 'hacks' | ||
5 | EXTRA_OECONF_build-darwin = " --enable-shared " | ||
6 | OLD_STAGING := "${STAGING_BINDIR}" | ||
7 | OLD_TARGET := "${TARGET_SYS}" | ||
8 | OLD_HOST := "${HOST_SYS}" | ||
9 | OLD_BUILD := "${BUILD_SYS}" | ||
10 | |||
11 | PATH_prepend_build-darwin = "${OLD_STAGING}/${OLD_HOST}:${OLD_STAGING}:" | ||
12 | |||
13 | TARGET_SYS_build-darwin = "none-apple-darwin" | ||
14 | HOST_SYS_build-darwin = "none-apple-darwin" | ||
15 | BUILD_SYS_build-darwin = "none-apple-darwin" | ||
16 | |||
17 | do_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 @@ | |||
1 | PV = "4.2.4" | ||
2 | require gmp-native.inc | ||
3 | PR = "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 @@ | |||
1 | inherit nativesdk | ||
2 | |||
3 | oe_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 @@ | |||
1 | require gmp_${PV}.bb | ||
2 | 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 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 | " |
6 | require gmp.inc | 6 | require gmp.inc |
7 | LICENSE = "GPLv3 LGPLv3" | 7 | LICENSE = "GPLv3 LGPLv3" |
8 | |||
9 | BBCLASSEXTEND = "native nativesdk" \ No newline at end of file | ||