dev86: work on all hosts, other cleanups

Remove COMPATIBLE_HOST, whilst this is an x86 assembler there's nothing to stop
you building it on or for arm64 and assembling x86 code.

Override INEXE so that binaries are not stripped and remove INSANE_SKIP.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Ross Burton 2021-06-29 11:51:03 +01:00 committed by Bruce Ashfield
parent 5c1388998d
commit 449cfdef60

View File

@ -21,7 +21,7 @@ S = "${WORKDIR}/git"
DEPENDS = "gperf-native dev86-native"
BBCLASSEXTEND = "native"
EXTRA_OEMAKE = "VERSION=${BASE_PV} PREFIX=${prefix} DIST=${D} LDFLAGS='${LDFLAGS}'"
EXTRA_OEMAKE = "VERSION=${BASE_PV} PREFIX=${prefix} DIST=${D} LDFLAGS='${LDFLAGS}' INEXE=''"
do_compile() {
# always regenerate token1.h, token2.h for deterministic behavior
@ -45,7 +45,4 @@ do_install_append_class-native() {
install -v -m 755 ${B}/ifdefg ${D}${bindir}
}
COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
FILES_${PN} += "${libdir}/bcc"
INSANE_SKIP_${PN} = "already-stripped"