Workaround needed when cross-compiling armhf

This commit is contained in:
deadwood 2023-01-26 18:06:01 +01:00
parent 18c1409ff8
commit 8eaae42bba
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@ USER_INCLUDES := -I$(GENINCDIR)
EXEDIR := $(dir $(MKAMIKEYMAP))
FILES := mkamikeymap config parsedescriptor writekeymap
# Workaround - in debug build, TARGET objcopy is used to add debug link, however mkamikeymap is a host-side program.
# Triggered when cross-compiling armhf on x86_64
tools-mkkeymap_STRIPDEBUG := no
%build_prog mmake=tools-mkkeymap \
progname="$(notdir $(MKAMIKEYMAP))" targetdir=$(EXEDIR) \
files="$(FILES)" compiler=host