nativesdk: Switch to using nativesdk as a prefix, not a suffix
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. (From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
58a8a38aa2
commit
ad23395cd1
|
@ -191,7 +191,7 @@ def preferred_ml_updates(d):
|
||||||
for v in versions:
|
for v in versions:
|
||||||
val = d.getVar(v, False)
|
val = d.getVar(v, False)
|
||||||
pkg = v.replace("PREFERRED_VERSION_", "")
|
pkg = v.replace("PREFERRED_VERSION_", "")
|
||||||
if pkg.endswith("-native") or pkg.endswith("-nativesdk"):
|
if pkg.endswith("-native") or pkg.startswith("nativesdk-"):
|
||||||
continue
|
continue
|
||||||
for p in prefixes:
|
for p in prefixes:
|
||||||
newname = "PREFERRED_VERSION_" + p + "-" + pkg
|
newname = "PREFERRED_VERSION_" + p + "-" + pkg
|
||||||
|
@ -201,7 +201,7 @@ def preferred_ml_updates(d):
|
||||||
for prov in providers:
|
for prov in providers:
|
||||||
val = d.getVar(prov, False)
|
val = d.getVar(prov, False)
|
||||||
pkg = prov.replace("PREFERRED_PROVIDER_", "")
|
pkg = prov.replace("PREFERRED_PROVIDER_", "")
|
||||||
if pkg.endswith("-native") or pkg.endswith("-nativesdk"):
|
if pkg.endswith("-native") or pkg.startswith("nativesdk-"):
|
||||||
continue
|
continue
|
||||||
virt = ""
|
virt = ""
|
||||||
if pkg.startswith("virtual/"):
|
if pkg.startswith("virtual/"):
|
||||||
|
@ -218,7 +218,7 @@ def preferred_ml_updates(d):
|
||||||
mp = (d.getVar("MULTI_PROVIDER_WHITELIST", True) or "").split()
|
mp = (d.getVar("MULTI_PROVIDER_WHITELIST", True) or "").split()
|
||||||
extramp = []
|
extramp = []
|
||||||
for p in mp:
|
for p in mp:
|
||||||
if p.endswith("-native") or p.endswith("-nativesdk"):
|
if p.endswith("-native") or p.startswith("nativesdk-"):
|
||||||
continue
|
continue
|
||||||
virt = ""
|
virt = ""
|
||||||
if p.startswith("virtual/"):
|
if p.startswith("virtual/"):
|
||||||
|
@ -358,6 +358,9 @@ python () {
|
||||||
elif a.startswith("virtual/"):
|
elif a.startswith("virtual/"):
|
||||||
subs = a.split("/", 1)[1]
|
subs = a.split("/", 1)[1]
|
||||||
newappends.append("virtual/" + prefix + subs + extension)
|
newappends.append("virtual/" + prefix + subs + extension)
|
||||||
|
else:
|
||||||
|
if a.startswith(prefix):
|
||||||
|
newappends.append(a + extension)
|
||||||
else:
|
else:
|
||||||
newappends.append(prefix + a + extension)
|
newappends.append(prefix + a + extension)
|
||||||
return newappends
|
return newappends
|
||||||
|
@ -366,8 +369,8 @@ python () {
|
||||||
if not appends:
|
if not appends:
|
||||||
return
|
return
|
||||||
if varname.find("DEPENDS") != -1:
|
if varname.find("DEPENDS") != -1:
|
||||||
if pn.endswith("-nativesdk"):
|
if pn.startswith("nativesdk-"):
|
||||||
appends = expandFilter(appends, "-nativesdk", "")
|
appends = expandFilter(appends, "", "nativesdk-")
|
||||||
if pn.endswith("-native"):
|
if pn.endswith("-native"):
|
||||||
appends = expandFilter(appends, "-native", "")
|
appends = expandFilter(appends, "-native", "")
|
||||||
if mlprefix:
|
if mlprefix:
|
||||||
|
@ -456,7 +459,7 @@ python () {
|
||||||
|
|
||||||
dont_want_license = d.getVar('INCOMPATIBLE_LICENSE', True)
|
dont_want_license = d.getVar('INCOMPATIBLE_LICENSE', True)
|
||||||
|
|
||||||
if dont_want_license and not pn.endswith("-native") and not pn.endswith("-cross") and not pn.endswith("-cross-initial") and not pn.endswith("-cross-intermediate") and not pn.endswith("-crosssdk-intermediate") and not pn.endswith("-crosssdk") and not pn.endswith("-crosssdk-initial") and not pn.endswith("-cross-canadian-%s" % d.getVar('TRANSLATED_TARGET_ARCH', True)) and not pn.endswith("-nativesdk"):
|
if dont_want_license and not pn.endswith("-native") and not pn.endswith("-cross") and not pn.endswith("-cross-initial") and not pn.endswith("-cross-intermediate") and not pn.endswith("-crosssdk-intermediate") and not pn.endswith("-crosssdk") and not pn.endswith("-crosssdk-initial") and not pn.endswith("-cross-canadian-%s" % d.getVar('TRANSLATED_TARGET_ARCH', True)) and not pn.startswith("nativesdk-"):
|
||||||
# Internally, we'll use the license mapping. This way INCOMPATIBLE_LICENSE = "GPLv2" and
|
# Internally, we'll use the license mapping. This way INCOMPATIBLE_LICENSE = "GPLv2" and
|
||||||
# INCOMPATIBLE_LICENSE = "GPLv2.0" will pick up all variations of GPL-2.0
|
# INCOMPATIBLE_LICENSE = "GPLv2.0" will pick up all variations of GPL-2.0
|
||||||
spdx_license = return_spdx(d, dont_want_license)
|
spdx_license = return_spdx(d, dont_want_license)
|
||||||
|
|
|
@ -52,7 +52,7 @@ LDFLAGS = "${BUILDSDK_LDFLAGS} \
|
||||||
-Wl,-rpath-link,${STAGING_LIBDIR}/.. \
|
-Wl,-rpath-link,${STAGING_LIBDIR}/.. \
|
||||||
-Wl,-rpath,${libdir}/.. "
|
-Wl,-rpath,${libdir}/.. "
|
||||||
|
|
||||||
DEPENDS_GETTEXT = "gettext-native gettext-nativesdk"
|
DEPENDS_GETTEXT = "gettext-native nativesdk-gettext"
|
||||||
|
|
||||||
# Path mangling needed by the cross packaging
|
# Path mangling needed by the cross packaging
|
||||||
# Note that we use := here to ensure that libdir and includedir are
|
# Note that we use := here to ensure that libdir and includedir are
|
||||||
|
|
|
@ -33,10 +33,10 @@ python do_distrodata_np() {
|
||||||
localdata.setVar('OVERRIDES', "pn-" + pnstripped[0] + ":" + d.getVar('OVERRIDES', True))
|
localdata.setVar('OVERRIDES', "pn-" + pnstripped[0] + ":" + d.getVar('OVERRIDES', True))
|
||||||
bb.data.update_data(localdata)
|
bb.data.update_data(localdata)
|
||||||
|
|
||||||
if pn.find("-nativesdk") != -1:
|
if pn.find("nativesdk-") != -1:
|
||||||
pnstripped = pn.split("-nativesdk")
|
pnstripped = pn.replace("nativesdk-", "")
|
||||||
bb.note("Native Split: %s" % pnstripped)
|
bb.note("Native Split: %s" % pnstripped)
|
||||||
localdata.setVar('OVERRIDES', "pn-" + pnstripped[0] + ":" + d.getVar('OVERRIDES', True))
|
localdata.setVar('OVERRIDES', "pn-" + pnstripped + ":" + d.getVar('OVERRIDES', True))
|
||||||
bb.data.update_data(localdata)
|
bb.data.update_data(localdata)
|
||||||
|
|
||||||
if pn.find("-cross") != -1:
|
if pn.find("-cross") != -1:
|
||||||
|
|
|
@ -195,7 +195,7 @@ def package_qa_check_dev(path, name, d, elf, messages):
|
||||||
Check for ".so" library symlinks in non-dev packages
|
Check for ".so" library symlinks in non-dev packages
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if not name.endswith("-dev") and not name.endswith("-dbg") and not name.endswith("-nativesdk") and path.endswith(".so") and os.path.islink(path):
|
if not name.endswith("-dev") and not name.endswith("-dbg") and not name.startswith("nativesdk-") and path.endswith(".so") and os.path.islink(path):
|
||||||
messages.append("non -dev/-dbg/-nativesdk package contains symlink .so: %s path '%s'" % \
|
messages.append("non -dev/-dbg/-nativesdk package contains symlink .so: %s path '%s'" % \
|
||||||
(name, package_qa_clean_path(path,d)))
|
(name, package_qa_clean_path(path,d)))
|
||||||
|
|
||||||
|
@ -726,7 +726,7 @@ Rerun configure task after fixing this. The path was '%s'""" % root)
|
||||||
if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('nativesdk', d):
|
if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('nativesdk', d):
|
||||||
gt = "gettext-native"
|
gt = "gettext-native"
|
||||||
elif bb.data.inherits_class('cross-canadian', d):
|
elif bb.data.inherits_class('cross-canadian', d):
|
||||||
gt = "gettext-nativesdk"
|
gt = "nativesdk-gettext"
|
||||||
else:
|
else:
|
||||||
gt = "virtual/" + ml + "gettext"
|
gt = "virtual/" + ml + "gettext"
|
||||||
deps = bb.utils.explode_deps(d.getVar('DEPENDS', True) or "")
|
deps = bb.utils.explode_deps(d.getVar('DEPENDS', True) or "")
|
||||||
|
|
|
@ -52,8 +52,6 @@ baselib = "lib"
|
||||||
export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}${libdir}/pkgconfig"
|
export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}${libdir}/pkgconfig"
|
||||||
export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"
|
export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"
|
||||||
|
|
||||||
PKGSUFFIX = "-nativesdk"
|
|
||||||
|
|
||||||
python nativesdk_virtclass_handler () {
|
python nativesdk_virtclass_handler () {
|
||||||
if not isinstance(e, bb.event.RecipePreFinalise):
|
if not isinstance(e, bb.event.RecipePreFinalise):
|
||||||
return
|
return
|
||||||
|
|
|
@ -1114,7 +1114,7 @@ python do_package_rpm () {
|
||||||
targetsys = d.getVar('TARGET_SYS', True)
|
targetsys = d.getVar('TARGET_SYS', True)
|
||||||
targetvendor = d.getVar('TARGET_VENDOR', True)
|
targetvendor = d.getVar('TARGET_VENDOR', True)
|
||||||
package_arch = d.getVar('PACKAGE_ARCH', True) or ""
|
package_arch = d.getVar('PACKAGE_ARCH', True) or ""
|
||||||
if package_arch not in "all any noarch".split():
|
if package_arch not in "all any noarch".split() and not package_arch.endswith("-nativesdk"):
|
||||||
ml_prefix = (d.getVar('MLPREFIX', True) or "").replace("-", "_")
|
ml_prefix = (d.getVar('MLPREFIX', True) or "").replace("-", "_")
|
||||||
d.setVar('PACKAGE_ARCH_EXTEND', ml_prefix + package_arch)
|
d.setVar('PACKAGE_ARCH_EXTEND', ml_prefix + package_arch)
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -2,6 +2,6 @@ DEPENDS_prepend = "pkgconfig-native "
|
||||||
|
|
||||||
PKGCONFIGRDEP = "pkgconfig"
|
PKGCONFIGRDEP = "pkgconfig"
|
||||||
PKGCONFIGRDEP_virtclass-native = ""
|
PKGCONFIGRDEP_virtclass-native = ""
|
||||||
PKGCONFIGRDEP_virtclass-nativesdk = "pkgconfig-nativesdk"
|
PKGCONFIGRDEP_virtclass-nativesdk = "nativesdk-pkgconfig"
|
||||||
|
|
||||||
RDEPENDS_${PN}-dev += "${PKGCONFIGRDEP}"
|
RDEPENDS_${PN}-dev += "${PKGCONFIGRDEP}"
|
||||||
|
|
|
@ -4,3 +4,4 @@
|
||||||
inherit populate_sdk_base
|
inherit populate_sdk_base
|
||||||
|
|
||||||
addtask populate_sdk after do_install before do_build
|
addtask populate_sdk after do_install before do_build
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ SDK_DEPLOY = "${TMPDIR}/deploy/sdk"
|
||||||
|
|
||||||
SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${MULTIMACH_TARGET_SYS}"
|
SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${MULTIMACH_TARGET_SYS}"
|
||||||
|
|
||||||
TOOLCHAIN_HOST_TASK ?= "task-sdk-host-nativesdk task-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
TOOLCHAIN_HOST_TASK ?= "nativesdk-task-sdk-host task-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
||||||
TOOLCHAIN_HOST_TASK_ATTEMPTONLY ?= ""
|
TOOLCHAIN_HOST_TASK_ATTEMPTONLY ?= ""
|
||||||
TOOLCHAIN_TARGET_TASK ?= "task-core-standalone-sdk-target task-core-standalone-sdk-target-dbg"
|
TOOLCHAIN_TARGET_TASK ?= "task-core-standalone-sdk-target task-core-standalone-sdk-target-dbg"
|
||||||
TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= ""
|
TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= ""
|
||||||
|
|
|
@ -194,7 +194,7 @@ EXTENDPKGV ?= "${EXTENDPKGEVER}${PKGV}-${PKGR}"
|
||||||
# Base package name
|
# Base package name
|
||||||
# Automatically derives "foo" from "foo-native", "foo-cross" or "foo-initial"
|
# Automatically derives "foo" from "foo-native", "foo-cross" or "foo-initial"
|
||||||
# otherwise it is the same as PN and P
|
# otherwise it is the same as PN and P
|
||||||
SPECIAL_PKGSUFFIX = "-native -cross -initial -intermediate -nativesdk -crosssdk -cross-canadian"
|
SPECIAL_PKGSUFFIX = "-native -cross -initial -intermediate -crosssdk -cross-canadian"
|
||||||
BPN = "${@base_prune_suffix(d.getVar('PN', True), d.getVar('SPECIAL_PKGSUFFIX', True).split(), d)}"
|
BPN = "${@base_prune_suffix(d.getVar('PN', True), d.getVar('SPECIAL_PKGSUFFIX', True).split(), d)}"
|
||||||
BP = "${BPN}-${PV}"
|
BP = "${BPN}-${PV}"
|
||||||
|
|
||||||
|
@ -250,7 +250,7 @@ PROVIDES = ""
|
||||||
PROVIDES_prepend = "${P} ${PF} ${PN} "
|
PROVIDES_prepend = "${P} ${PF} ${PN} "
|
||||||
RPROVIDES = ""
|
RPROVIDES = ""
|
||||||
|
|
||||||
MULTI_PROVIDER_WHITELIST = "virtual/libintl virtual/libintl-native virtual/libintl-nativesdk virtual/xserver virtual/update-alternatives-native virtual/update-alternatives"
|
MULTI_PROVIDER_WHITELIST = "virtual/libintl virtual/libintl-native virtual/nativesdk-libintl virtual/xserver virtual/update-alternatives-native virtual/update-alternatives"
|
||||||
|
|
||||||
SOLIBS = ".so.*"
|
SOLIBS = ".so.*"
|
||||||
SOLIBS_darwin = ".*.dylib"
|
SOLIBS_darwin = ".*.dylib"
|
||||||
|
|
|
@ -27,12 +27,12 @@ PREFERRED_PROVIDER_dbus-glib ?= "dbus-glib"
|
||||||
PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native"
|
PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native"
|
||||||
PREFERRED_PROVIDER_gdk-pixbuf ?= "gdk-pixbuf"
|
PREFERRED_PROVIDER_gdk-pixbuf ?= "gdk-pixbuf"
|
||||||
PREFERRED_PROVIDER_libgcc ?= "libgcc"
|
PREFERRED_PROVIDER_libgcc ?= "libgcc"
|
||||||
PREFERRED_PROVIDER_libgcc-nativesdk ?= "libgcc-nativesdk"
|
PREFERRED_PROVIDER_nativesdk-libgcc ?= "nativesdk-libgcc"
|
||||||
PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers"
|
PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers"
|
||||||
PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-libc-headers-nativesdk"
|
PREFERRED_PROVIDER_nativesdk-linux-libc-headers ?= "nativesdk-linux-libc-headers"
|
||||||
PREFERRED_PROVIDER_matchbox-panel ?= "matchbox-panel-2"
|
PREFERRED_PROVIDER_matchbox-panel ?= "matchbox-panel-2"
|
||||||
PREFERRED_PROVIDER_opkg ?= "opkg"
|
PREFERRED_PROVIDER_opkg ?= "opkg"
|
||||||
PREFERRED_PROVIDER_opkg-native ?= "opkg-native"
|
PREFERRED_PROVIDER_opkg-native ?= "opkg-native"
|
||||||
PREFERRED_PROVIDER_opkg-nativesdk ?= "opkg-nativesdk"
|
PREFERRED_PROVIDER_nativesdk-opkg ?= "nativesdk-opkg"
|
||||||
PREFERRED_PROVIDER_console-tools ?= "kbd"
|
PREFERRED_PROVIDER_console-tools ?= "kbd"
|
||||||
PREFERRED_PROVIDER_gzip-native ?= "pigz-native"
|
PREFERRED_PROVIDER_gzip-native ?= "pigz-native"
|
||||||
|
|
|
@ -9,10 +9,10 @@ LIBCOVERRIDE = ":libc-glibc"
|
||||||
OVERRIDES .= "${LIBCOVERRIDE}"
|
OVERRIDES .= "${LIBCOVERRIDE}"
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc"
|
PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc"
|
||||||
PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "eglibc-nativesdk"
|
PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-eglibc"
|
||||||
PREFERRED_PROVIDER_virtual/libintl ?= "eglibc"
|
PREFERRED_PROVIDER_virtual/libintl ?= "eglibc"
|
||||||
PREFERRED_PROVIDER_virtual/libc ?= "eglibc"
|
PREFERRED_PROVIDER_virtual/libc ?= "eglibc"
|
||||||
PREFERRED_PROVIDER_virtual/libc-nativesdk ?= "eglibc-nativesdk"
|
PREFERRED_PROVIDER_virtual/nativesdk-libc ?= "nativesdk-eglibc"
|
||||||
PREFERRED_PROVIDER_virtual/libc-locale ?= "eglibc-locale"
|
PREFERRED_PROVIDER_virtual/libc-locale ?= "eglibc-locale"
|
||||||
|
|
||||||
CXXFLAGS += "-fvisibility-inlines-hidden"
|
CXXFLAGS += "-fvisibility-inlines-hidden"
|
||||||
|
|
|
@ -12,9 +12,9 @@ PREFERRED_PROVIDER_gdb = "gdb"
|
||||||
|
|
||||||
# Default libc config
|
# Default libc config
|
||||||
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "${TCLIBC}"
|
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "${TCLIBC}"
|
||||||
PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-for-gcc-nativesdk ?= "${TCLIBC}-nativesdk"
|
PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc ?= "nativesdk-${TCLIBC}"
|
||||||
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial"
|
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial"
|
||||||
PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-initial-nativesdk = "${TCLIBC}-initial-nativesdk"
|
PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial = "nativesdk-${TCLIBC}-initial"
|
||||||
PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
|
PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
|
||||||
|
|
||||||
GCCVERSION ?= "4.7%"
|
GCCVERSION ?= "4.7%"
|
||||||
|
@ -33,20 +33,20 @@ PREFERRED_VERSION_gcc-crosssdk-initial ?= "${SDKGCCVERSION}"
|
||||||
PREFERRED_VERSION_gcc-crosssdk-intermediate ?= "${SDKGCCVERSION}"
|
PREFERRED_VERSION_gcc-crosssdk-intermediate ?= "${SDKGCCVERSION}"
|
||||||
PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}"
|
PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}"
|
||||||
PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}"
|
PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}"
|
||||||
PREFERRED_VERSION_gcc-runtime-nativesdk ?= "${SDKGCCVERSION}"
|
PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}"
|
||||||
PREFERRED_VERSION_libgcc ?= "${GCCVERSION}"
|
PREFERRED_VERSION_libgcc ?= "${GCCVERSION}"
|
||||||
PREFERRED_VERSION_libgcc-nativesdk ?= "${SDKGCCVERSION}"
|
PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}"
|
||||||
PREFERRED_VERSION_binutils ?= "${BINUVERSION}"
|
PREFERRED_VERSION_binutils ?= "${BINUVERSION}"
|
||||||
PREFERRED_VERSION_binutils-cross ?= "${BINUVERSION}"
|
PREFERRED_VERSION_binutils-cross ?= "${BINUVERSION}"
|
||||||
PREFERRED_VERSION_binutils-crosssdk ?= "${BINUVERSION}"
|
PREFERRED_VERSION_binutils-crosssdk ?= "${BINUVERSION}"
|
||||||
PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}"
|
PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}"
|
||||||
PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}"
|
PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}"
|
||||||
PREFERRED_VERSION_linux-libc-headers-nativesdk ?= "${LINUXLIBCVERSION}"
|
PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}"
|
||||||
PREFERRED_VERSION_eglibc ?= "${EGLIBCVERSION}"
|
PREFERRED_VERSION_eglibc ?= "${EGLIBCVERSION}"
|
||||||
PREFERRED_VERSION_eglibc-locale ?= "${EGLIBCVERSION}"
|
PREFERRED_VERSION_eglibc-locale ?= "${EGLIBCVERSION}"
|
||||||
PREFERRED_VERSION_eglibc-nativesdk ?= "${EGLIBCVERSION}"
|
PREFERRED_VERSION_nativesdk-eglibc ?= "${EGLIBCVERSION}"
|
||||||
PREFERRED_VERSION_eglibc-initial ?= "${EGLIBCVERSION}"
|
PREFERRED_VERSION_eglibc-initial ?= "${EGLIBCVERSION}"
|
||||||
PREFERRED_VERSION_eglibc-initial-nativesdk ?= "${EGLIBCVERSION}"
|
PREFERRED_VERSION_nativesdk-eglibc-initial ?= "${EGLIBCVERSION}"
|
||||||
PREFERRED_VERSION_cross-localedef-native ?= "${EGLIBCVERSION}"
|
PREFERRED_VERSION_cross-localedef-native ?= "${EGLIBCVERSION}"
|
||||||
PREFERRED_VERSION_uclibc ?= "${UCLIBCVERSION}"
|
PREFERRED_VERSION_uclibc ?= "${UCLIBCVERSION}"
|
||||||
PREFERRED_VERSION_uclibc-initial ?= "${UCLIBCVERSION}"
|
PREFERRED_VERSION_uclibc-initial ?= "${UCLIBCVERSION}"
|
||||||
|
|
|
@ -7,7 +7,7 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache):
|
||||||
def isCross(x):
|
def isCross(x):
|
||||||
return x.endswith("-cross") or x.endswith("-cross-initial") or x.endswith("-cross-intermediate")
|
return x.endswith("-cross") or x.endswith("-cross-initial") or x.endswith("-cross-intermediate")
|
||||||
def isNativeSDK(x):
|
def isNativeSDK(x):
|
||||||
return x.endswith("-nativesdk")
|
return x.startswith("nativesdk-")
|
||||||
def isKernel(fn):
|
def isKernel(fn):
|
||||||
inherits = " ".join(dataCache.inherits[fn])
|
inherits = " ".join(dataCache.inherits[fn])
|
||||||
return inherits.find("module-base.bbclass") != -1 or inherits.find("linux-kernel-base.bbclass") != -1
|
return inherits.find("module-base.bbclass") != -1 or inherits.find("linux-kernel-base.bbclass") != -1
|
||||||
|
|
|
@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
|
||||||
X11DEPENDS = "virtual/libx11 libsm"
|
X11DEPENDS = "virtual/libx11 libsm"
|
||||||
DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
|
DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
|
||||||
DEPENDS_virtclass-native = "expat-native virtual/libintl-native"
|
DEPENDS_virtclass-native = "expat-native virtual/libintl-native"
|
||||||
DEPENDS_virtclass-nativesdk = "expat-nativesdk virtual/libintl-nativesdk virtual/libx11"
|
DEPENDS_virtclass-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11"
|
||||||
|
|
||||||
INC_PR = "r3"
|
INC_PR = "r3"
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ do_compile[noexec] = "1"
|
||||||
|
|
||||||
# default to disabled
|
# default to disabled
|
||||||
ENABLE_BINARY_LOCALE_GENERATION ?= "0"
|
ENABLE_BINARY_LOCALE_GENERATION ?= "0"
|
||||||
ENABLE_BINARY_LOCALE_GENERATION_pn-eglibc-locale-nativesdk = "0"
|
ENABLE_BINARY_LOCALE_GENERATION_pn-nativesdk-eglibc-locale = "0"
|
||||||
|
|
||||||
#enable locale generation on these arches
|
#enable locale generation on these arches
|
||||||
# BINARY_LOCALE_ARCHES is a space separated list of regular expressions
|
# BINARY_LOCALE_ARCHES is a space separated list of regular expressions
|
||||||
|
@ -29,16 +29,13 @@ LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1"
|
||||||
|
|
||||||
PR = "r22"
|
PR = "r22"
|
||||||
|
|
||||||
PKGSUFFIX = ""
|
PROVIDES = "virtual/libc-locale"
|
||||||
PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
|
|
||||||
|
|
||||||
PROVIDES = "virtual/libc-locale${PKGSUFFIX}"
|
PACKAGES = "localedef ${PN}-dbg"
|
||||||
|
|
||||||
PACKAGES = "localedef${PKGSUFFIX} ${PN}-dbg"
|
|
||||||
|
|
||||||
PACKAGES_DYNAMIC = "locale-base-* \
|
PACKAGES_DYNAMIC = "locale-base-* \
|
||||||
eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* \
|
eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* \
|
||||||
glibc-gconv-*${PKGSUFFIX} glibc-charmap-* glibc-localedata-* glibc-binary-localedata-*"
|
glibc-gconv-* glibc-charmap-* glibc-localedata-* glibc-binary-localedata-*"
|
||||||
|
|
||||||
# Create a eglibc-binaries package
|
# Create a eglibc-binaries package
|
||||||
ALLOW_EMPTY_${BPN}-binaries = "1"
|
ALLOW_EMPTY_${BPN}-binaries = "1"
|
||||||
|
@ -67,7 +64,7 @@ DESCRIPTION_localedef = "eglibc: compile locale definition files"
|
||||||
# Explicitly add ${MLPREFIX} for FILES_eglibc-gconv.
|
# Explicitly add ${MLPREFIX} for FILES_eglibc-gconv.
|
||||||
FILES_${MLPREFIX}eglibc-gconv = "${libdir}/gconv/*"
|
FILES_${MLPREFIX}eglibc-gconv = "${libdir}/gconv/*"
|
||||||
FILES_${PN}-dbg += "${libdir}/gconv/.debug/*"
|
FILES_${PN}-dbg += "${libdir}/gconv/.debug/*"
|
||||||
FILES_localedef${PKGSUFFIX} = "${bindir}/localedef"
|
FILES_localedef = "${bindir}/localedef"
|
||||||
|
|
||||||
LOCALETREESRC = "${STAGING_INCDIR}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS}"
|
LOCALETREESRC = "${STAGING_INCDIR}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS}"
|
||||||
|
|
||||||
|
@ -93,6 +90,6 @@ do_install () {
|
||||||
|
|
||||||
inherit libc-package
|
inherit libc-package
|
||||||
|
|
||||||
do_install[depends] += "virtual/${MLPREFIX}libc${PKGSUFFIX}:do_populate_sysroot"
|
do_install[depends] += "virtual/${MLPREFIX}libc:do_populate_sysroot"
|
||||||
|
|
||||||
BBCLASSEXTEND = "nativesdk"
|
BBCLASSEXTEND = "nativesdk"
|
||||||
|
|
|
@ -17,47 +17,44 @@ python __anonymous () {
|
||||||
# Set this to zero if you don't want ldconfig in the output package
|
# Set this to zero if you don't want ldconfig in the output package
|
||||||
USE_LDCONFIG ?= "1"
|
USE_LDCONFIG ?= "1"
|
||||||
|
|
||||||
PKGSUFFIX = ""
|
PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-mtrace ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN} eglibc-extra-nss"
|
||||||
PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
|
|
||||||
|
|
||||||
PACKAGES = "${PN}-dbg catchsegv${PKGSUFFIX} sln${PKGSUFFIX} nscd${PKGSUFFIX} ldd${PKGSUFFIX} ${PN}-mtrace ${PN}-utils eglibc-thread-db${PKGSUFFIX} ${PN}-pic libcidn${PKGSUFFIX} libmemusage${PKGSUFFIX} libsegfault${PKGSUFFIX} ${PN}-pcprofile libsotruss${PKGSUFFIX} ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN} eglibc-extra-nss${PKGSUFFIX}"
|
|
||||||
|
|
||||||
# The ld.so in this eglibc supports the GNU_HASH
|
# The ld.so in this eglibc supports the GNU_HASH
|
||||||
RPROVIDES_${PN} = "glibc${PKGSUFFIX} rtld(GNU_HASH)"
|
RPROVIDES_${PN} = "glibc rtld(GNU_HASH)"
|
||||||
RPROVIDES_${PN}-utils = "glibc${PKGSUFFIX}-utils"
|
RPROVIDES_${PN}-utils = "glibc-utils"
|
||||||
RPROVIDES_${PN}-mtrace = "glibc${PKGSUFFIX}-mtrace libc-mtrace"
|
RPROVIDES_${PN}-mtrace = "glibc-mtrace libc-mtrace"
|
||||||
RPROVIDES_${PN}-pic = "glibc${PKGSUFFIX}-pic"
|
RPROVIDES_${PN}-pic = "glibc-pic"
|
||||||
RPROVIDES_${PN}-dev = "glibc${PKGSUFFIX}-dev"
|
RPROVIDES_${PN}-dev = "glibc-dev"
|
||||||
RPROVIDES_${PN}-staticdev = "glibc${PKGSUFFIX}-staticdev"
|
RPROVIDES_${PN}-staticdev = "glibc-staticdev"
|
||||||
RPROVIDES_${PN}-doc = "glibc${PKGSUFFIX}-doc"
|
RPROVIDES_${PN}-doc = "glibc-doc"
|
||||||
RPROVIDES_eglibc-extra-nss${PKGSUFFIX} = "glibc-extra-nss${PKGSUFFIX}"
|
RPROVIDES_eglibc-extra-nss = "glibc-extra-nss"
|
||||||
RPROVIDES_eglibc-thread-db${PKGSUFFIX} = "glibc-thread-db${PKGSUFFIX}"
|
RPROVIDES_eglibc-thread-db = "glibc-thread-db"
|
||||||
RPROVIDES_${PN}-pcprofile = "glibc${PKGSUFFIX}-pcprofile"
|
RPROVIDES_${PN}-pcprofile = "glibc-pcprofile"
|
||||||
RPROVIDES_${PN}-dbg = "glibc-dbg${PKGSUFFIX}"
|
RPROVIDES_${PN}-dbg = "glibc-dbg"
|
||||||
libc_baselibs = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so ${base_libdir}/libc.so.* ${base_libdir}/libc-*.so ${base_libdir}/libm*.so.* ${base_libdir}/libm-*.so ${base_libdir}/ld*.so.* ${base_libdir}/ld-*.so ${base_libdir}/libpthread*.so.* ${base_libdir}/libpthread-*.so ${base_libdir}/libresolv*.so.* ${base_libdir}/libresolv-*.so ${base_libdir}/librt*.so.* ${base_libdir}/librt-*.so ${base_libdir}/libutil*.so.* ${base_libdir}/libutil-*.so ${base_libdir}/libnsl*.so.* ${base_libdir}/libnsl-*.so ${base_libdir}/libnss_files*.so.* ${base_libdir}/libnss_files-*.so ${base_libdir}/libnss_compat*.so.* ${base_libdir}/libnss_compat-*.so ${base_libdir}/libnss_dns*.so.* ${base_libdir}/libnss_dns-*.so ${base_libdir}/libdl*.so.* ${base_libdir}/libdl-*.so ${base_libdir}/libanl*.so.* ${base_libdir}/libanl-*.so ${base_libdir}/libBrokenLocale*.so.* ${base_libdir}/libBrokenLocale-*.so"
|
libc_baselibs = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so ${base_libdir}/libc.so.* ${base_libdir}/libc-*.so ${base_libdir}/libm*.so.* ${base_libdir}/libm-*.so ${base_libdir}/ld*.so.* ${base_libdir}/ld-*.so ${base_libdir}/libpthread*.so.* ${base_libdir}/libpthread-*.so ${base_libdir}/libresolv*.so.* ${base_libdir}/libresolv-*.so ${base_libdir}/librt*.so.* ${base_libdir}/librt-*.so ${base_libdir}/libutil*.so.* ${base_libdir}/libutil-*.so ${base_libdir}/libnsl*.so.* ${base_libdir}/libnsl-*.so ${base_libdir}/libnss_files*.so.* ${base_libdir}/libnss_files-*.so ${base_libdir}/libnss_compat*.so.* ${base_libdir}/libnss_compat-*.so ${base_libdir}/libnss_dns*.so.* ${base_libdir}/libnss_dns-*.so ${base_libdir}/libdl*.so.* ${base_libdir}/libdl-*.so ${base_libdir}/libanl*.so.* ${base_libdir}/libanl-*.so ${base_libdir}/libBrokenLocale*.so.* ${base_libdir}/libBrokenLocale-*.so"
|
||||||
|
|
||||||
FILES_${PN} = "${libc_baselibs} ${libexecdir}/* ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig ${sysconfdir}/ld.so.conf', '', d)}"
|
FILES_${PN} = "${libc_baselibs} ${libexecdir}/* ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig ${sysconfdir}/ld.so.conf', '', d)}"
|
||||||
FILES_ldd${PKGSUFFIX} = "${bindir}/ldd"
|
FILES_ldd = "${bindir}/ldd"
|
||||||
FILES_libsegfault${PKGSUFFIX} = "${base_libdir}/libSegFault*"
|
FILES_libsegfault = "${base_libdir}/libSegFault*"
|
||||||
FILES_libcidn${PKGSUFFIX} = "${base_libdir}/libcidn-*.so ${base_libdir}/libcidn.so.*"
|
FILES_libcidn = "${base_libdir}/libcidn-*.so ${base_libdir}/libcidn.so.*"
|
||||||
FILES_libmemusage${PKGSUFFIX} = "${base_libdir}/libmemusage.so"
|
FILES_libmemusage = "${base_libdir}/libmemusage.so"
|
||||||
FILES_eglibc-extra-nss${PKGSUFFIX} = "${base_libdir}/libnss_*-*.so ${base_libdir}/libnss_*.so.*"
|
FILES_eglibc-extra-nss = "${base_libdir}/libnss_*-*.so ${base_libdir}/libnss_*.so.*"
|
||||||
FILES_sln${PKGSUFFIX} = "/sbin/sln"
|
FILES_sln = "/sbin/sln"
|
||||||
FILES_${PN}-pic = "${libdir}/*_pic.a ${libdir}/*_pic.map ${libdir}/libc_pic/*.o"
|
FILES_${PN}-pic = "${libdir}/*_pic.a ${libdir}/*_pic.map ${libdir}/libc_pic/*.o"
|
||||||
FILES_libsotruss${PKGSUFFIX} = "${libdir}/audit/sotruss-lib.so"
|
FILES_libsotruss = "${libdir}/audit/sotruss-lib.so"
|
||||||
FILES_SOLIBSDEV = "${libdir}/lib*${SOLIBSDEV}"
|
FILES_SOLIBSDEV = "${libdir}/lib*${SOLIBSDEV}"
|
||||||
FILES_${PN}-dev += "${bindir}/rpcgen ${libdir}/*_nonshared.a ${base_libdir}/*_nonshared.a ${base_libdir}/*.o ${datadir}/aclocal"
|
FILES_${PN}-dev += "${bindir}/rpcgen ${libdir}/*_nonshared.a ${base_libdir}/*_nonshared.a ${base_libdir}/*.o ${datadir}/aclocal"
|
||||||
FILES_${PN}-staticdev += "${libdir}/*.a ${base_libdir}/*.a"
|
FILES_${PN}-staticdev += "${libdir}/*.a ${base_libdir}/*.a"
|
||||||
FILES_nscd${PKGSUFFIX} = "${sbindir}/nscd*"
|
FILES_nscd = "${sbindir}/nscd*"
|
||||||
FILES_${PN}-mtrace = "${bindir}/mtrace"
|
FILES_${PN}-mtrace = "${bindir}/mtrace"
|
||||||
FILES_${PN}-utils = "${bindir}/* ${sbindir}/*"
|
FILES_${PN}-utils = "${bindir}/* ${sbindir}/*"
|
||||||
FILES_${PN}-dbg += "${libexecdir}/*/.debug ${libdir}/audit/.debug"
|
FILES_${PN}-dbg += "${libexecdir}/*/.debug ${libdir}/audit/.debug"
|
||||||
FILES_catchsegv${PKGSUFFIX} = "${bindir}/catchsegv"
|
FILES_catchsegv = "${bindir}/catchsegv"
|
||||||
RDEPENDS_catchsegv${PKGSUFFIX} = "libsegfault"
|
RDEPENDS_catchsegv = "libsegfault"
|
||||||
RDEPENDS_${PN}-utils += "bash"
|
RDEPENDS_${PN}-utils += "bash"
|
||||||
RDEPENDS_${PN}-mtrace += "perl"
|
RDEPENDS_${PN}-mtrace += "perl"
|
||||||
FILES_${PN}-pcprofile = "${base_libdir}/libpcprofile.so"
|
FILES_${PN}-pcprofile = "${base_libdir}/libpcprofile.so"
|
||||||
FILES_eglibc-thread-db${PKGSUFFIX} = "${base_libdir}/libthread_db.so.* ${base_libdir}/libthread_db-*.so"
|
FILES_eglibc-thread-db = "${base_libdir}/libthread_db.so.* ${base_libdir}/libthread_db-*.so"
|
||||||
RPROVIDES_${PN}-dev += "libc-dev"
|
RPROVIDES_${PN}-dev += "libc-dev"
|
||||||
RPROVIDES_${PN}-staticdev += "libc-staticdev"
|
RPROVIDES_${PN}-staticdev += "libc-staticdev"
|
||||||
|
|
||||||
|
@ -65,8 +62,8 @@ SUMMARY_sln = "The static ln."
|
||||||
DESCRIPTION_sln = "Similar to the 'ln' utility, but statically linked. sln is useful to make symbolic links to dynamic libraries if the dynamic linking system, for some reason, is not functional."
|
DESCRIPTION_sln = "Similar to the 'ln' utility, but statically linked. sln is useful to make symbolic links to dynamic libraries if the dynamic linking system, for some reason, is not functional."
|
||||||
SUMMARY_nscd = "Name service cache daemon"
|
SUMMARY_nscd = "Name service cache daemon"
|
||||||
DESCRIPTION_nscd = "nscd, name service cache daemon, caches name service lookups for the passwd, group and hosts information. It can damatically improvide performance with remote, such as NIS or NIS+, name services."
|
DESCRIPTION_nscd = "nscd, name service cache daemon, caches name service lookups for the passwd, group and hosts information. It can damatically improvide performance with remote, such as NIS or NIS+, name services."
|
||||||
SUMMARY_eglibc-extra-nss${PKGSUFFIX} = "hesiod, NIS and NIS+ nss libraries"
|
SUMMARY_eglibc-extra-nss = "hesiod, NIS and NIS+ nss libraries"
|
||||||
DESCRIPTION_eglibc-extra-nss${PKGSUFFIX} = "eglibc: nis, nisplus and hesiod search services."
|
DESCRIPTION_eglibc-extra-nss = "eglibc: nis, nisplus and hesiod search services."
|
||||||
SUMMARY_ldd = "print shared library dependencies"
|
SUMMARY_ldd = "print shared library dependencies"
|
||||||
DESCRIPTION_ldd = "/usr/bin/ldd prints shared library dependencies for each program or shared library specified on the command line."
|
DESCRIPTION_ldd = "/usr/bin/ldd prints shared library dependencies for each program or shared library specified on the command line."
|
||||||
SUMMARY_${PN}-utils = "Miscellaneous utilities provided by eglibc"
|
SUMMARY_${PN}-utils = "Miscellaneous utilities provided by eglibc"
|
||||||
|
|
|
@ -5,7 +5,7 @@ PE = "1"
|
||||||
|
|
||||||
DEPENDS += "libffi python-argparse-native zlib"
|
DEPENDS += "libffi python-argparse-native zlib"
|
||||||
DEPENDS_virtclass-native += "libffi-native python-argparse-native"
|
DEPENDS_virtclass-native += "libffi-native python-argparse-native"
|
||||||
DEPENDS_virtclass-nativesdk += "libffi-nativesdk python-argparse-native zlib-nativesdk ${BPN}-native"
|
DEPENDS_virtclass-nativesdk += "nativesdk-libffi python-argparse-native nativesdk-zlib ${BPN}-native"
|
||||||
|
|
||||||
SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
|
SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ SECTION = "libs"
|
||||||
|
|
||||||
DEPENDS = "glib-2.0-native zip virtual/libiconv"
|
DEPENDS = "glib-2.0-native zip virtual/libiconv"
|
||||||
DEPENDS_virtclass-native = "pkgconfig-native gettext-native"
|
DEPENDS_virtclass-native = "pkgconfig-native gettext-native"
|
||||||
DEPENDS_virtclass-nativesdk = "libtool-nativesdk"
|
DEPENDS_virtclass-nativesdk = "nativesdk-libtool"
|
||||||
PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen"
|
PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen"
|
||||||
|
|
||||||
LEAD_SONAME = "libglib-2.0.*"
|
LEAD_SONAME = "libglib-2.0.*"
|
||||||
|
|
|
@ -16,25 +16,25 @@ SDK_DEPLOY = "${TMPDIR}/deploy/sdk"
|
||||||
IPKG_HOST = "opkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}"
|
IPKG_HOST = "opkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}"
|
||||||
|
|
||||||
TOOLCHAIN_HOST_TASK ?= "\
|
TOOLCHAIN_HOST_TASK ?= "\
|
||||||
python-nativesdk-core \
|
nativesdk-python-core \
|
||||||
python-nativesdk-textutils \
|
nativesdk-python-textutils \
|
||||||
python-nativesdk-sqlite3 \
|
nativesdk-python-sqlite3 \
|
||||||
python-nativesdk-pickle \
|
nativesdk-python-pickle \
|
||||||
python-nativesdk-logging \
|
nativesdk-python-logging \
|
||||||
python-nativesdk-elementtree \
|
nativesdk-python-elementtree \
|
||||||
python-nativesdk-curses \
|
nativesdk-python-curses \
|
||||||
python-nativesdk-compile \
|
nativesdk-python-compile \
|
||||||
python-nativesdk-compiler \
|
nativesdk-python-compiler \
|
||||||
python-nativesdk-fcntl \
|
nativesdk-python-fcntl \
|
||||||
python-nativesdk-shell \
|
nativesdk-python-shell \
|
||||||
python-nativesdk-misc \
|
nativesdk-python-misc \
|
||||||
python-nativesdk-multiprocessing \
|
nativesdk-python-multiprocessing \
|
||||||
python-nativesdk-subprocess \
|
nativesdk-python-subprocess \
|
||||||
python-nativesdk-xmlrpc \
|
nativesdk-python-xmlrpc \
|
||||||
python-nativesdk-netclient \
|
nativesdk-python-netclient \
|
||||||
python-nativesdk-netserver \
|
nativesdk-python-netserver \
|
||||||
python-nativesdk-distutils \
|
nativesdk-python-distutils \
|
||||||
chrpath-nativesdk \
|
nativesdk-chrpath \
|
||||||
"
|
"
|
||||||
|
|
||||||
TOOLCHAIN_OUTPUTNAME ?= "python-nativesdk-standalone-${SDKMACHINE}"
|
TOOLCHAIN_OUTPUTNAME ?= "python-nativesdk-standalone-${SDKMACHINE}"
|
||||||
|
|
|
@ -15,21 +15,21 @@ inherit nativesdk
|
||||||
PACKAGES = "${PN}"
|
PACKAGES = "${PN}"
|
||||||
|
|
||||||
RDEPENDS_${PN} = "\
|
RDEPENDS_${PN} = "\
|
||||||
pkgconfig-nativesdk \
|
nativesdk-pkgconfig \
|
||||||
qemu-nativesdk \
|
nativesdk-qemu \
|
||||||
qemu-helper-nativesdk \
|
nativesdk-qemu-helper \
|
||||||
pseudo-nativesdk \
|
nativesdk-pseudo \
|
||||||
unfs-server-nativesdk \
|
nativesdk-unfs-server \
|
||||||
opkg-nativesdk \
|
nativesdk-opkg \
|
||||||
libtool-nativesdk \
|
nativesdk-libtool \
|
||||||
autoconf-nativesdk \
|
nativesdk-autoconf \
|
||||||
automake-nativesdk \
|
nativesdk-automake \
|
||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS_${PN}_darwin8 = "\
|
RDEPENDS_${PN}_darwin8 = "\
|
||||||
odcctools-cross-canadian \
|
odcctools-cross-canadian \
|
||||||
llvm-cross-canadian \
|
llvm-cross-canadian \
|
||||||
pkgconfig-nativesdk \
|
nativesdk-pkgconfig \
|
||||||
opkg-nativesdk \
|
nativesdk-opkg \
|
||||||
libtool-nativesdk \
|
nativesdk-libtool \
|
||||||
"
|
"
|
|
@ -7,10 +7,10 @@ HOMEPAGE = "http://www.gnu.org/software/autoconf/"
|
||||||
SECTION = "devel"
|
SECTION = "devel"
|
||||||
DEPENDS += "m4-native"
|
DEPENDS += "m4-native"
|
||||||
DEPENDS_virtclass-native = "m4-native gnu-config-native"
|
DEPENDS_virtclass-native = "m4-native gnu-config-native"
|
||||||
DEPENDS_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk"
|
DEPENDS_virtclass-nativesdk = "nativesdk-m4 nativesdk-gnu-config"
|
||||||
RDEPENDS_${PN} = "m4 gnu-config"
|
RDEPENDS_${PN} = "m4 gnu-config"
|
||||||
RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native"
|
RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native"
|
||||||
RDEPENDS_${PN}_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk"
|
RDEPENDS_${PN}_virtclass-nativesdk = "nativesdk-m4 nativesdk-gnu-config"
|
||||||
|
|
||||||
SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \
|
SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \
|
||||||
file://program_prefix.patch"
|
file://program_prefix.patch"
|
||||||
|
|
|
@ -28,7 +28,7 @@ RDEPENDS_${PN} += "\
|
||||||
perl-module-vars "
|
perl-module-vars "
|
||||||
|
|
||||||
RDEPENDS_${PN}_virtclass-native = "autoconf-native perl-native-runtime"
|
RDEPENDS_${PN}_virtclass-native = "autoconf-native perl-native-runtime"
|
||||||
RDEPENDS_${PN}_virtclass-nativesdk = "autoconf-nativesdk"
|
RDEPENDS_${PN}_virtclass-nativesdk = "nativesdk-autoconf"
|
||||||
|
|
||||||
PATHFIXPATCH = "file://path_prog_fixes.patch"
|
PATHFIXPATCH = "file://path_prog_fixes.patch"
|
||||||
PATHFIXPATCH_virtclass-native = ""
|
PATHFIXPATCH_virtclass-native = ""
|
||||||
|
|
|
@ -4,7 +4,7 @@ DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_
|
||||||
PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
||||||
BPN = "binutils"
|
BPN = "binutils"
|
||||||
|
|
||||||
DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk"
|
DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/nativesdk-libc nativesdk-zlib nativesdk-gettext"
|
||||||
EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
|
EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
|
||||||
"
|
"
|
||||||
do_install () {
|
do_install () {
|
||||||
|
|
|
@ -4,5 +4,5 @@ DESCRIPTION = "The cross-canadian GNU cc and gcc C compilers for ${TARGET_ARCH}
|
||||||
PN = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
PN = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
||||||
BPN = "gcc"
|
BPN = "gcc"
|
||||||
|
|
||||||
DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc gettext-nativesdk"
|
DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-${HOST_PREFIX}libc-for-gcc gettext"
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,8 @@ require gcc-cross-canadian.inc
|
||||||
require gcc-configure-sdk.inc
|
require gcc-configure-sdk.inc
|
||||||
require gcc-package-sdk.inc
|
require gcc-package-sdk.inc
|
||||||
|
|
||||||
DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk"
|
DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils"
|
||||||
RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk"
|
RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils"
|
||||||
|
|
||||||
SYSTEMHEADERS = "/usr/include"
|
SYSTEMHEADERS = "/usr/include"
|
||||||
SYSTEMLIBS = "${target_base_libdir}/"
|
SYSTEMLIBS = "${target_base_libdir}/"
|
||||||
|
|
|
@ -6,5 +6,5 @@ SYSTEMLIBS1 = "${SDKPATHNATIVE}${libdir_nativesdk}/"
|
||||||
|
|
||||||
GCCMULTILIB = "--disable-multilib"
|
GCCMULTILIB = "--disable-multilib"
|
||||||
|
|
||||||
DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk gettext-native"
|
DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/nativesdk-${TARGET_PREFIX}libc-for-gcc gettext-native"
|
||||||
PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
|
PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
|
||||||
|
|
|
@ -4,14 +4,11 @@ INHIBIT_DEFAULT_DEPS = "1"
|
||||||
|
|
||||||
DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
|
DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
|
||||||
|
|
||||||
PKGSUFFIX = ""
|
|
||||||
PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
|
|
||||||
|
|
||||||
PACKAGES = "\
|
PACKAGES = "\
|
||||||
${PN} \
|
${PN} \
|
||||||
${PN}-dev \
|
${PN}-dev \
|
||||||
${PN}-dbg \
|
${PN}-dbg \
|
||||||
libgcov${PKGSUFFIX}-dev \
|
libgcov-dev \
|
||||||
"
|
"
|
||||||
|
|
||||||
FILES_${PN} = "${base_libdir}/libgcc*.so.*"
|
FILES_${PN} = "${base_libdir}/libgcc*.so.*"
|
||||||
|
@ -19,7 +16,7 @@ FILES_${PN}-dev = " \
|
||||||
${base_libdir}/libgcc*.so \
|
${base_libdir}/libgcc*.so \
|
||||||
${libdir}/${TARGET_SYS}/${BINV}/*crt* \
|
${libdir}/${TARGET_SYS}/${BINV}/*crt* \
|
||||||
${libdir}/${TARGET_SYS}/${BINV}/libgcc*"
|
${libdir}/${TARGET_SYS}/${BINV}/libgcc*"
|
||||||
FILES_libgcov${PKGSUFFIX}-dev = " \
|
FILES_libgcov-dev = " \
|
||||||
${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \
|
${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \
|
||||||
"
|
"
|
||||||
FILES_${PN}-dbg += "${base_libdir}/.debug/"
|
FILES_${PN}-dbg += "${base_libdir}/.debug/"
|
||||||
|
@ -72,4 +69,4 @@ do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_package"
|
||||||
BBCLASSEXTEND = "nativesdk"
|
BBCLASSEXTEND = "nativesdk"
|
||||||
|
|
||||||
INSANE_SKIP_${PN}-dev = "staticdev"
|
INSANE_SKIP_${PN}-dev = "staticdev"
|
||||||
INSANE_SKIP_${MLPREFIX}libgcov${PKGSUFFIX}-dev = "staticdev"
|
INSANE_SKIP_${MLPREFIX}libgcov-dev = "staticdev"
|
||||||
|
|
|
@ -5,9 +5,9 @@ DESCRIPTION = "cross-canadian gdb for ${TARGET_ARCH} target - GNU debugger"
|
||||||
PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
||||||
BPN = "gdb"
|
BPN = "gdb"
|
||||||
|
|
||||||
DEPENDS = "ncurses-nativesdk expat-nativesdk gettext-nativesdk readline-nativesdk python-nativesdk"
|
DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-readline nativesdk-python"
|
||||||
RDEPENDS += "python-nativesdk-core python-nativesdk-lang python-nativesdk-re \
|
RDEPENDS += "nativesdk-python-core nativesdk-python-lang nativesdk-python-re \
|
||||||
python-nativesdk-codecs python-nativesdk-netclient"
|
nativesdk-python-codecs nativesdk-python-netclient"
|
||||||
|
|
||||||
EXTRA_OECONF_append = "--with-python=${WORKDIR}/python"
|
EXTRA_OECONF_append = "--with-python=${WORKDIR}/python"
|
||||||
|
|
||||||
|
@ -30,3 +30,4 @@ EOF
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
rm -rf ${D}${exec_prefix}/lib
|
rm -rf ${D}${exec_prefix}/lib
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ do_install () {
|
||||||
sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \
|
sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \
|
||||||
-e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize
|
-e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize
|
||||||
# In the native case we want the system perl as perl-native can't have built yet
|
# In the native case we want the system perl as perl-native can't have built yet
|
||||||
if [ "${PN}" != "gnu-config-native" -a "${PN}" != "gnu-config-nativesdk" ]; then
|
if [ "${PN}" != "gnu-config-native" -a "${PN}" != "nativesdk-gnu-config" ]; then
|
||||||
sed -i -e 's,/usr/bin/env,${bindir}/env,g' ${D}${bindir}/gnu-configize
|
sed -i -e 's,/usr/bin/env,${bindir}/env,g' ${D}${bindir}/gnu-configize
|
||||||
fi
|
fi
|
||||||
chmod 755 ${D}${bindir}/gnu-configize
|
chmod 755 ${D}${bindir}/gnu-configize
|
||||||
|
|
|
@ -29,7 +29,7 @@ do_install () {
|
||||||
sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \
|
sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \
|
||||||
-e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize
|
-e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize
|
||||||
# In the native case we want the system perl as perl-native can't have built yet
|
# In the native case we want the system perl as perl-native can't have built yet
|
||||||
if [ "${PN}" != "gnu-config-native" -a "${PN}" != "gnu-config-nativesdk" ]; then
|
if [ "${PN}" != "gnu-config-native" -a "${PN}" != "nativesdk-gnu-config" ]; then
|
||||||
sed -i -e 's,/usr/bin/env,${bindir}/env,g' ${D}${bindir}/gnu-configize
|
sed -i -e 's,/usr/bin/env,${bindir}/env,g' ${D}${bindir}/gnu-configize
|
||||||
fi
|
fi
|
||||||
chmod 755 ${D}${bindir}/gnu-configize
|
chmod 755 ${D}${bindir}/gnu-configize
|
||||||
|
|
|
@ -117,7 +117,7 @@ OPKG_INSTALL_NATIVE_CMD="$OPKG_INSTALL_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INST
|
||||||
BASE_HOSTSDK_PKGNAMES="pseudo opkg pkgconfig libtool autoconf automake"
|
BASE_HOSTSDK_PKGNAMES="pseudo opkg pkgconfig libtool autoconf automake"
|
||||||
for pkg in $BASE_HOSTSDK_PKGNAMES; do
|
for pkg in $BASE_HOSTSDK_PKGNAMES; do
|
||||||
echo_info "Installing ${pkg} nativesdk ...\n"
|
echo_info "Installing ${pkg} nativesdk ...\n"
|
||||||
$OPKG_INSTALL_NATIVE_CMD ${pkg}-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE
|
$OPKG_INSTALL_NATIVE_CMD nativesdk-${pkg} &>> $YOCTOADT_INSTALL_LOG_FILE
|
||||||
check_result
|
check_result
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -142,15 +142,15 @@ done
|
||||||
|
|
||||||
if [ "$YOCTOADT_QEMU" == "Y" ] || [ "$YOCTOADT_QEMU" = "y" ]; then
|
if [ "$YOCTOADT_QEMU" == "Y" ] || [ "$YOCTOADT_QEMU" = "y" ]; then
|
||||||
echo_info "\nInstalling qemu native ..."
|
echo_info "\nInstalling qemu native ..."
|
||||||
$OPKG_INSTALL_NATIVE_CMD qemu-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE
|
$OPKG_INSTALL_NATIVE_CMD nativesdk-qemu &>> $YOCTOADT_INSTALL_LOG_FILE
|
||||||
check_result
|
check_result
|
||||||
$OPKG_INSTALL_NATIVE_CMD qemu-helper-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE
|
$OPKG_INSTALL_NATIVE_CMD nativesdk-qemu-helper &>> $YOCTOADT_INSTALL_LOG_FILE
|
||||||
check_result
|
check_result
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$YOCTOADT_NFS_UTIL" == "Y" ] || [ "$YOCTOADT_NFS_UTIL" == "y" ]; then
|
if [ "$YOCTOADT_NFS_UTIL" == "Y" ] || [ "$YOCTOADT_NFS_UTIL" == "y" ]; then
|
||||||
echo_info "\nInstalling unfs ..."
|
echo_info "\nInstalling unfs ..."
|
||||||
$OPKG_INSTALL_NATIVE_CMD unfs-server-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE
|
$OPKG_INSTALL_NATIVE_CMD nativesdk-unfs-server &>> $YOCTOADT_INSTALL_LOG_FILE
|
||||||
check_result
|
check_result
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ LICENSE = "GPLv2+"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||||
file://src/opkg-cl.c;beginline=1;endline=20;md5=321f658c3f6b6c832e25c8850b5dffba"
|
file://src/opkg-cl.c;beginline=1;endline=20;md5=321f658c3f6b6c832e25c8850b5dffba"
|
||||||
DEPENDS_virtclass-native = "curl-native"
|
DEPENDS_virtclass-native = "curl-native"
|
||||||
DEPENDS_virtclass-nativesdk = "curl-nativesdk"
|
DEPENDS_virtclass-nativesdk = "nativesdk-curl"
|
||||||
|
|
||||||
PE = "1"
|
PE = "1"
|
||||||
INC_PR = "r10"
|
INC_PR = "r10"
|
||||||
|
@ -41,12 +41,12 @@ RDEPENDS_${PN}_virtclass-nativesdk = ""
|
||||||
PACKAGE_ARCH_update-alternatives-cworth = "all"
|
PACKAGE_ARCH_update-alternatives-cworth = "all"
|
||||||
RREPLACES_${PN} = "opkg-nogpg"
|
RREPLACES_${PN} = "opkg-nogpg"
|
||||||
|
|
||||||
PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX}-staticdev libopkg${PKGSUFFIX} update-alternatives-cworth${PKGSUFFIX}"
|
PACKAGES =+ "libopkg-dev libopkg-staticdev libopkg update-alternatives-cworth"
|
||||||
|
|
||||||
FILES_update-alternatives-cworth${PKGSUFFIX} = "${bindir}/update-alternatives"
|
FILES_update-alternatives-cworth = "${bindir}/update-alternatives"
|
||||||
FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.la ${libdir}/*.so"
|
FILES_libopkg-dev = "${libdir}/*.la ${libdir}/*.so"
|
||||||
FILES_libopkg${PKGSUFFIX}-staticdev = "${libdir}/*.a"
|
FILES_libopkg-staticdev = "${libdir}/*.a"
|
||||||
FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.* ${localstatedir}/lib/opkg/"
|
FILES_libopkg = "${libdir}/*.so.* ${localstatedir}/lib/opkg/"
|
||||||
|
|
||||||
# We need to create the lock directory
|
# We need to create the lock directory
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
|
@ -75,9 +75,6 @@ ALTERNATIVE_TARGET[opkg] = "${bindir}/opkg-cl"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
||||||
PKGSUFFIX = ""
|
|
||||||
PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
|
|
||||||
|
|
||||||
# Define a variable to allow distros to run configure earlier.
|
# Define a variable to allow distros to run configure earlier.
|
||||||
# (for example, to enable loading of ethernet kernel modules before networking starts)
|
# (for example, to enable loading of ethernet kernel modules before networking starts)
|
||||||
POSTINSTALL_INITPOSITION ?= "98"
|
POSTINSTALL_INITPOSITION ?= "98"
|
||||||
|
|
|
@ -302,6 +302,7 @@ python populate_packages_prepend () {
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGES_DYNAMIC = "perl-module-*"
|
PACKAGES_DYNAMIC = "perl-module-*"
|
||||||
|
PACKAGES_DYNAMIC_virtclass-nativesdk = "nativesdk-perl-module-*"
|
||||||
|
|
||||||
RPROVIDES_perl-lib = "perl-lib"
|
RPROVIDES_perl-lib = "perl-lib"
|
||||||
|
|
||||||
|
@ -311,3 +312,4 @@ require perl-rprovides_${PV}.inc
|
||||||
|
|
||||||
SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh"
|
SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "nativesdk"
|
||||||
|
|
|
@ -148,11 +148,11 @@ require python-${PYTHON_MAJMIN}-manifest.inc
|
||||||
RPROVIDES_${PN}-core = "${PN}"
|
RPROVIDES_${PN}-core = "${PN}"
|
||||||
RRECOMMENDS_${PN}-core = "${PN}-readline"
|
RRECOMMENDS_${PN}-core = "${PN}-readline"
|
||||||
RRECOMMENDS_${PN}-crypt = "openssl"
|
RRECOMMENDS_${PN}-crypt = "openssl"
|
||||||
RRECOMMENDS_${PN}-crypt_virtclass-nativesdk = "openssl-nativesdk"
|
RRECOMMENDS_${PN}-crypt_virtclass-nativesdk = "nativesdk-openssl"
|
||||||
|
|
||||||
# package libpython2
|
# package libpython2
|
||||||
PACKAGES =+ "lib${BPN}2${PKGSUFFIX}"
|
PACKAGES =+ "lib${BPN}2"
|
||||||
FILES_lib${BPN}2${PKGSUFFIX} = "${libdir}/libpython*.so.*"
|
FILES_lib${BPN}2 = "${libdir}/libpython*.so.*"
|
||||||
|
|
||||||
# catch debug extensions (isn't that already in python-core-dbg?)
|
# catch debug extensions (isn't that already in python-core-dbg?)
|
||||||
FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug"
|
FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug"
|
||||||
|
@ -166,6 +166,3 @@ PACKAGES += "${PN}-man"
|
||||||
FILES_${PN}-man = "${datadir}/man"
|
FILES_${PN}-man = "${datadir}/man"
|
||||||
|
|
||||||
BBCLASSEXTEND = "nativesdk"
|
BBCLASSEXTEND = "nativesdk"
|
||||||
|
|
||||||
PKGSUFFIX = ""
|
|
||||||
PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
SUMMARY = "Qemu helper scripts"
|
SUMMARY = "Qemu helper scripts"
|
||||||
DESCRIPTION = "Qemu helper scripts"
|
DESCRIPTION = "Qemu helper scripts"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPLv2"
|
||||||
RDEPENDS_${PN} = "qemu-nativesdk"
|
RDEPENDS_${PN} = "nativesdk-qemu"
|
||||||
PR = "r9"
|
PR = "r9"
|
||||||
|
|
||||||
FILESPATH = "${FILE_DIRNAME}/qemu-helper"
|
FILESPATH = "${FILE_DIRNAME}/qemu-helper"
|
|
@ -22,7 +22,7 @@ inherit autotools
|
||||||
do_configure() {
|
do_configure() {
|
||||||
# Handle distros such as CentOS 5 32-bit that do not have kvm support
|
# Handle distros such as CentOS 5 32-bit that do not have kvm support
|
||||||
KVMOPTS="--disable-kvm"
|
KVMOPTS="--disable-kvm"
|
||||||
if [ "${PN}" != "qemu-native" -a "${PN}" != "qemu-nativesdk" ] \
|
if [ "${PN}" != "qemu-native" -a "${PN}" != "nativesdk-qemu" ] \
|
||||||
|| [ -f /usr/include/linux/kvm.h ] ; then
|
|| [ -f /usr/include/linux/kvm.h ] ; then
|
||||||
KVMOPTS="--enable-kvm"
|
KVMOPTS="--enable-kvm"
|
||||||
fi
|
fi
|
||||||
|
@ -41,8 +41,8 @@ do_install () {
|
||||||
PACKAGECONFIG ??= ""
|
PACKAGECONFIG ??= ""
|
||||||
|
|
||||||
DEPENDS_virtclass-native = "zlib-native alsa-lib-native glib-2.0-native"
|
DEPENDS_virtclass-native = "zlib-native alsa-lib-native glib-2.0-native"
|
||||||
DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk glib-2.0-nativesdk"
|
DEPENDS_virtclass-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0"
|
||||||
RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk"
|
RDEPENDS_virtclass-nativesdk = "nativesdk-libsdl"
|
||||||
EXTRA_OECONF_virtclass-nativesdk = "--target-list=${@get_qemu_target_list(d)} --disable-werror --disable-vnc-tls \
|
EXTRA_OECONF_virtclass-nativesdk = "--target-list=${@get_qemu_target_list(d)} --disable-werror --disable-vnc-tls \
|
||||||
--disable-curl \
|
--disable-curl \
|
||||||
"
|
"
|
||||||
|
|
|
@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
|
||||||
|
|
||||||
RDEPENDS_${PN} = "pseudo"
|
RDEPENDS_${PN} = "pseudo"
|
||||||
RDEPENDS_${PN}_virtclass-native = "pseudo-native"
|
RDEPENDS_${PN}_virtclass-native = "pseudo-native"
|
||||||
RDEPENDS_${PN}_virtclass-nativesdk = "pseudo-nativesdk"
|
RDEPENDS_${PN}_virtclass-nativesdk = "nativesdk-pseudo"
|
||||||
BASEPV = "2.2beta47"
|
BASEPV = "2.2beta47"
|
||||||
PR = "r1"
|
PR = "r1"
|
||||||
|
|
||||||
|
@ -73,6 +73,6 @@ python __anonymous () {
|
||||||
import re
|
import re
|
||||||
|
|
||||||
pn = d.getVar("PN", True)
|
pn = d.getVar("PN", True)
|
||||||
if not pn.endswith('-native') and not pn.endswith('-nativesdk'):
|
if not pn.endswith('-native') and not pn.startswith('nativesdk-'):
|
||||||
raise bb.parse.SkipPackage("unfs-server is intended for native/nativesdk builds only")
|
raise bb.parse.SkipPackage("unfs-server is intended for native/nativesdk builds only")
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,3 +39,4 @@ SRC_URI[patch009.sha256sum] = "e7ed5440b4c19765786e90e4f1ded43195d38b3e4d1c4b39f
|
||||||
SRC_URI[patch010.md5sum] = "0a51602b535ef661ee707be6c8bdb373"
|
SRC_URI[patch010.md5sum] = "0a51602b535ef661ee707be6c8bdb373"
|
||||||
SRC_URI[patch010.sha256sum] = "acfc5482c25e6923116fcf4b4f7f6345b80f75ad7299749db4b736ad67aa43dc"
|
SRC_URI[patch010.sha256sum] = "acfc5482c25e6923116fcf4b4f7f6345b80f75ad7299749db4b736ad67aa43dc"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "nativesdk"
|
||||||
|
|
|
@ -43,4 +43,5 @@ SECTION_libbz2-staticdev = "devel"
|
||||||
RDEPENDS_libbz2-staticdev = "libbz2-dev (= ${EXTENDPKGV})"
|
RDEPENDS_libbz2-staticdev = "libbz2-dev (= ${EXTENDPKGV})"
|
||||||
|
|
||||||
PROVIDES_append_virtclass-native = " bzip2-replacement-native"
|
PROVIDES_append_virtclass-native = " bzip2-replacement-native"
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
|
||||||
${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} \
|
${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} \
|
||||||
${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \
|
${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \
|
||||||
tslib"
|
tslib"
|
||||||
DEPENDS_virtclass-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk', '', d)}"
|
DEPENDS_virtclass-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}"
|
||||||
|
|
||||||
PR = "r0"
|
PR = "r0"
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ DEFAULT_PREFERENCE = "-1"
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
install -d ${D}${libdir}/
|
install -d ${D}${libdir}/
|
||||||
if [ "${PN}" != "qemugl-nativesdk" ]; then
|
if [ "${PN}" != "nativesdk-qemugl" ]; then
|
||||||
install -m 0755 ${S}/libGL.so.1.2 ${D}${libdir}/libGL-qemu.so.1.2
|
install -m 0755 ${S}/libGL.so.1.2 ${D}${libdir}/libGL-qemu.so.1.2
|
||||||
else
|
else
|
||||||
install -m 0755 ${S}/libGL.so.1.2 ${D}${libdir}/libGL.so.1.2
|
install -m 0755 ${S}/libGL.so.1.2 ${D}${libdir}/libGL.so.1.2
|
||||||
|
|
|
@ -4,7 +4,7 @@ require systemtap_git.inc
|
||||||
|
|
||||||
DEPENDS = "elfutils sqlite3 systemtap-native"
|
DEPENDS = "elfutils sqlite3 systemtap-native"
|
||||||
DEPENDS_virtclass-native = "elfutils-native sqlite3-native gettext-native"
|
DEPENDS_virtclass-native = "elfutils-native sqlite3-native gettext-native"
|
||||||
DEPENDS_virtclass-nativesdk = "elfutils-nativesdk sqlite3-nativesdk gettext-nativesdk"
|
DEPENDS_virtclass-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettext"
|
||||||
|
|
||||||
PR = "r0"
|
PR = "r0"
|
||||||
|
|
||||||
|
|
|
@ -31,22 +31,19 @@ EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes --disable-python"
|
||||||
|
|
||||||
EXTRA_OECONF_append_libc-uclibc = " --with-versioned=no "
|
EXTRA_OECONF_append_libc-uclibc = " --with-versioned=no "
|
||||||
|
|
||||||
PKGSUFFIX = ""
|
PACKAGES =+ "alsa-server libasound alsa-conf-base alsa-conf alsa-doc alsa-dev"
|
||||||
PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
|
|
||||||
|
|
||||||
PACKAGES =+ "alsa-server${PKGSUFFIX} libasound${PKGSUFFIX} alsa-conf-base${PKGSUFFIX} alsa-conf${PKGSUFFIX} alsa-doc${PKGSUFFIX} alsa-dev${PKGSUFFIX}"
|
|
||||||
FILES_${PN} += "${libdir}/${BPN}/smixer/*.so"
|
FILES_${PN} += "${libdir}/${BPN}/smixer/*.so"
|
||||||
FILES_${PN}-dbg += "${libdir}/${BPN}/smixer/.debug"
|
FILES_${PN}-dbg += "${libdir}/${BPN}/smixer/.debug"
|
||||||
FILES_${PN}-dev += "${libdir}/${BPN}/smixer/*.la"
|
FILES_${PN}-dev += "${libdir}/${BPN}/smixer/*.la"
|
||||||
FILES_libasound${PKGSUFFIX} = "${libdir}/libasound.so.*"
|
FILES_libasound = "${libdir}/libasound.so.*"
|
||||||
FILES_alsa-server${PKGSUFFIX} = "${bindir}/*"
|
FILES_alsa-server = "${bindir}/*"
|
||||||
FILES_alsa-conf${PKGSUFFIX} = "${datadir}/alsa/"
|
FILES_alsa-conf = "${datadir}/alsa/"
|
||||||
FILES_alsa-dev${PKGSUFFIX} += "${libdir}/pkgconfig/ /usr/include/ ${datadir}/aclocal/*"
|
FILES_alsa-dev += "${libdir}/pkgconfig/ /usr/include/ ${datadir}/aclocal/*"
|
||||||
FILES_alsa-conf-base${PKGSUFFIX} = "\
|
FILES_alsa-conf-base = "\
|
||||||
${datadir}/alsa/alsa.conf \
|
${datadir}/alsa/alsa.conf \
|
||||||
${datadir}/alsa/cards/aliases.conf \
|
${datadir}/alsa/cards/aliases.conf \
|
||||||
${datadir}/alsa/pcm/default.conf \
|
${datadir}/alsa/pcm/default.conf \
|
||||||
${datadir}/alsa/pcm/dmix.conf \
|
${datadir}/alsa/pcm/dmix.conf \
|
||||||
${datadir}/alsa/pcm/dsnoop.conf"
|
${datadir}/alsa/pcm/dsnoop.conf"
|
||||||
|
|
||||||
RDEPENDS_libasound${PKGSUFFIX} = "alsa-conf-base${PKGSUFFIX}"
|
RDEPENDS_libasound = "alsa-conf-base"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Qt Embedded toolchain
|
# Qt Embedded toolchain
|
||||||
PR = "r5"
|
PR = "r5"
|
||||||
TOOLCHAIN_HOST_TASK = "task-qte-toolchain-host-nativesdk task-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
TOOLCHAIN_HOST_TASK = "nativesdk-task-qte-toolchain-host task-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
||||||
TOOLCHAIN_TARGET_TASK = "task-qte-toolchain-target"
|
TOOLCHAIN_TARGET_TASK = "task-qte-toolchain-target"
|
||||||
TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-qte-${DISTRO_VERSION}"
|
TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-qte-${DISTRO_VERSION}"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Remove "const" usage that causes compile failure building qt4-tools-nativesdk
|
Remove "const" usage that causes compile failure building nativesdk-qt4-tools
|
||||||
|
|
||||||
Upstream-Status: Denied [possible retry]
|
Upstream-Status: Denied [possible retry]
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
require recipes-core/tasks/nativesdk-task-sdk-host.bb
|
||||||
|
|
||||||
|
DESCRIPTION = "Host packages for Qt Embedded SDK"
|
||||||
|
LICENSE = "MIT"
|
||||||
|
ALLOW_EMPTY = "1"
|
||||||
|
|
||||||
|
RDEPENDS_${PN} += "nativesdk-qt4-tools"
|
|
@ -1,7 +0,0 @@
|
||||||
require recipes-core/tasks/task-sdk-host-nativesdk.bb
|
|
||||||
|
|
||||||
DESCRIPTION = "Host packages for Qt Embedded SDK"
|
|
||||||
LICENSE = "MIT"
|
|
||||||
ALLOW_EMPTY = "1"
|
|
||||||
|
|
||||||
RDEPENDS_${PN} += "qt4-tools-nativesdk"
|
|
|
@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e66
|
||||||
|
|
||||||
DEPENDS = "zlib gnutls"
|
DEPENDS = "zlib gnutls"
|
||||||
DEPENDS_virtclass-native = "zlib-native openssl-native"
|
DEPENDS_virtclass-native = "zlib-native openssl-native"
|
||||||
DEPENDS_virtclass-nativesdk = "zlib-nativesdk"
|
DEPENDS_virtclass-nativesdk = "nativesdk-zlib"
|
||||||
PR = "r1"
|
PR = "r1"
|
||||||
|
|
||||||
SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
|
SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
|
||||||
|
|
|
@ -17,17 +17,14 @@ export config_TARGET_LINK = "${CCLD}"
|
||||||
export config_TARGET_CFLAGS = "${CFLAGS}"
|
export config_TARGET_CFLAGS = "${CFLAGS}"
|
||||||
export config_TARGET_LFLAGS = "${LDFLAGS}"
|
export config_TARGET_LFLAGS = "${LDFLAGS}"
|
||||||
|
|
||||||
PKGSUFFIX = ""
|
PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}"
|
||||||
PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
|
|
||||||
|
|
||||||
PACKAGES = "lib${BPN}${PKGSUFFIX} lib${BPN}${PKGSUFFIX}-dev lib${BPN}${PKGSUFFIX}-doc ${PN}-dbg lib${BPN}${PKGSUFFIX}-staticdev ${PN}"
|
|
||||||
|
|
||||||
FILES_${PN} = "${bindir}/*"
|
FILES_${PN} = "${bindir}/*"
|
||||||
FILES_lib${BPN}${PKGSUFFIX} = "${libdir}/*.so.*"
|
FILES_lib${BPN} = "${libdir}/*.so.*"
|
||||||
FILES_lib${BPN}${PKGSUFFIX}-dev = "${libdir}/*.la ${libdir}/*.so \
|
FILES_lib${BPN}-dev = "${libdir}/*.la ${libdir}/*.so \
|
||||||
${libdir}/pkgconfig ${includedir}"
|
${libdir}/pkgconfig ${includedir}"
|
||||||
FILES_lib${BPN}${PKGSUFFIX}-doc = "${docdir} ${mandir} ${infodir}"
|
FILES_lib${BPN}-doc = "${docdir} ${mandir} ${infodir}"
|
||||||
FILES_lib${BPN}${PKGSUFFIX}-staticdev = "${libdir}/lib*.a"
|
FILES_lib${BPN}-staticdev = "${libdir}/lib*.a"
|
||||||
AUTO_LIBNAME_PKGS = "lib${BPN}${PKGSUFFIX}"
|
AUTO_LIBNAME_PKGS = "lib${BPN}"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
Loading…
Reference in New Issue