bb.data.setVar('ROOT', '', localdata)
bb.data.setVar('ROOT_%s' % pkg, root, localdata)
- pkgname = bb.data.getVar('PKG_%s' % pkg, localdata, 1)
+ pkgname = bb.data.getVar('PKG_%s' % pkg, localdata, True)
if not pkgname:
pkgname = pkg
bb.data.setVar('PKG', pkgname, localdata)
return
for package in packages.split():
- # Nasty hack for now until we can mark exclusions in the packages.
- # db has a unusual versioning scheme. Cannot fix this.
- # gcc contains symlinks to other packages. Cannot fix.
- # elfutils has symlinks to point to correct .so files. Cannot fix.
- # networkmanager needs to be split into app/lib packages. Can fix.
- if package in [ 'db', 'gcc', 'elfutils', 'networkmanager' ]:
+ if bb.data.getVar('INSANE_SKIP_' + package, d, True):
bb.note("Package: %s (skipped)" % package)
continue
install -m 0644 ${S}/libdw/libdw.h ${STAGING_INCDIR}/elfutils/
install -m 0644 ${S}/libasm/libasm.h ${STAGING_INCDIR}/elfutils/
}
+
+# The elfutils package contains symlinks that trip up insane
+INSANE_SKIP_elfutils = "1"