mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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>
This commit is contained in:
@@ -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
|
|
||||||
}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
PV = "4.2.4"
|
|
||||||
require gmp-native.inc
|
|
||||||
PR = "r0"
|
|
||||||
@@ -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
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
require gmp_${PV}.bb
|
|
||||||
require gmp-nativesdk.inc
|
|
||||||
@@ -5,3 +5,5 @@ SRC_URI_append += "file://sh4-asmfix.patch;patch=1 \
|
|||||||
"
|
"
|
||||||
require gmp.inc
|
require gmp.inc
|
||||||
LICENSE = "GPLv3 LGPLv3"
|
LICENSE = "GPLv3 LGPLv3"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
Reference in New Issue
Block a user