mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -36,11 +36,11 @@ UPSTREAM_CHECK_REGEX = "syslinux-(?P<pver>.+)\.tar"
|
||||
UPSTREAM_VERSION_UNKNOWN = "1"
|
||||
|
||||
# We can build the native parts anywhere, but the target has to be x86
|
||||
COMPATIBLE_HOST_class-target = '(x86_64|i.86).*-(linux|freebsd.*)'
|
||||
COMPATIBLE_HOST:class-target = '(x86_64|i.86).*-(linux|freebsd.*)'
|
||||
|
||||
# Don't let the sanity checker trip on the 32 bit real mode BIOS binaries
|
||||
INSANE_SKIP_${PN}-misc = "arch"
|
||||
INSANE_SKIP_${PN}-chain = "arch"
|
||||
INSANE_SKIP:${PN}-misc = "arch"
|
||||
INSANE_SKIP:${PN}-chain = "arch"
|
||||
|
||||
# When building the installer, CC is used to link. When building the bootloader,
|
||||
# LD is used. However, these variables assume that GCC is used and break the
|
||||
@@ -49,7 +49,7 @@ TARGET_LDFLAGS = ""
|
||||
SECURITY_LDFLAGS = ""
|
||||
LDFLAGS_SECTION_REMOVAL = ""
|
||||
|
||||
CFLAGS_append = " -DNO_INLINE_FUNCS"
|
||||
CFLAGS:append = " -DNO_INLINE_FUNCS"
|
||||
|
||||
EXTRA_OEMAKE = " \
|
||||
BINDIR=${bindir} SBINDIR=${sbindir} LIBDIR=${libdir} \
|
||||
@@ -87,17 +87,17 @@ do_install() {
|
||||
#
|
||||
# Tasks for target which ship the precompiled bootloader and installer
|
||||
#
|
||||
do_configure_class-target() {
|
||||
do_configure:class-target() {
|
||||
# No need to do anything as we're mostly shipping the precompiled binaries
|
||||
:
|
||||
}
|
||||
|
||||
do_compile_class-target() {
|
||||
do_compile:class-target() {
|
||||
# No need to do anything as we're mostly shipping the precompiled binaries
|
||||
:
|
||||
}
|
||||
|
||||
do_install_class-target() {
|
||||
do_install:class-target() {
|
||||
oe_runmake firmware="bios" install INSTALLROOT="${D}"
|
||||
|
||||
install -d ${D}${datadir}/syslinux/
|
||||
@@ -107,19 +107,19 @@ do_install_class-target() {
|
||||
|
||||
PACKAGES += "${PN}-nomtools ${PN}-extlinux ${PN}-mbr ${PN}-chain ${PN}-pxelinux ${PN}-isolinux ${PN}-misc"
|
||||
|
||||
RDEPENDS_${PN} += "mtools"
|
||||
RDEPENDS_${PN}-nomtools += "libext2fs"
|
||||
RDEPENDS_${PN}-misc += "perl"
|
||||
RDEPENDS:${PN} += "mtools"
|
||||
RDEPENDS:${PN}-nomtools += "libext2fs"
|
||||
RDEPENDS:${PN}-misc += "perl"
|
||||
|
||||
FILES_${PN} = "${bindir}/syslinux"
|
||||
FILES_${PN}-nomtools = "${bindir}/syslinux-nomtools"
|
||||
FILES_${PN}-extlinux = "${sbindir}/extlinux"
|
||||
FILES_${PN}-mbr = "${datadir}/${BPN}/mbr.bin"
|
||||
FILES_${PN}-chain = "${datadir}/${BPN}/chain.c32"
|
||||
FILES_${PN}-isolinux = "${datadir}/${BPN}/isolinux.bin"
|
||||
FILES_${PN}-pxelinux = "${datadir}/${BPN}/pxelinux.0"
|
||||
FILES_${PN}-dev += "${datadir}/${BPN}/com32/lib*${SOLIBS} ${datadir}/${BPN}/com32/include ${datadir}/${BPN}/com32/com32.ld"
|
||||
FILES_${PN}-staticdev += "${datadir}/${BPN}/com32/lib*.a ${libdir}/${BPN}/com32/lib*.a"
|
||||
FILES_${PN}-misc = "${datadir}/${BPN}/* ${libdir}/${BPN}/* ${bindir}/*"
|
||||
FILES:${PN} = "${bindir}/syslinux"
|
||||
FILES:${PN}-nomtools = "${bindir}/syslinux-nomtools"
|
||||
FILES:${PN}-extlinux = "${sbindir}/extlinux"
|
||||
FILES:${PN}-mbr = "${datadir}/${BPN}/mbr.bin"
|
||||
FILES:${PN}-chain = "${datadir}/${BPN}/chain.c32"
|
||||
FILES:${PN}-isolinux = "${datadir}/${BPN}/isolinux.bin"
|
||||
FILES:${PN}-pxelinux = "${datadir}/${BPN}/pxelinux.0"
|
||||
FILES:${PN}-dev += "${datadir}/${BPN}/com32/lib*${SOLIBS} ${datadir}/${BPN}/com32/include ${datadir}/${BPN}/com32/com32.ld"
|
||||
FILES:${PN}-staticdev += "${datadir}/${BPN}/com32/lib*.a ${libdir}/${BPN}/com32/lib*.a"
|
||||
FILES:${PN}-misc = "${datadir}/${BPN}/* ${libdir}/${BPN}/* ${bindir}/*"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user