[Buildroot] [git commit] boot/syslinux: define OBJCOPY and AS
Peter Korsgaard
peter at korsgaard.com
Tue Nov 30 16:39:58 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=e938419bd98d57428aac9fc881c7a4adf45a5316
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
This fixes build on an ARM64 host (and I assume also
other non-x86).
Signed-off-by: Urja Rannikko <urjaman at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
boot/syslinux/syslinux.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/boot/syslinux/syslinux.mk b/boot/syslinux/syslinux.mk
index 0643f85a99..2df415fcfd 100644
--- a/boot/syslinux/syslinux.mk
+++ b/boot/syslinux/syslinux.mk
@@ -60,6 +60,8 @@ define SYSLINUX_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE1) \
CC="$(TARGET_CC)" \
LD="$(TARGET_LD)" \
+ OBJCOPY="$(TARGET_OBJCOPY)" \
+ AS="$(TARGET_AS)" \
NASM="$(HOST_DIR)/bin/nasm" \
CC_FOR_BUILD="$(HOSTCC)" \
CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \
More information about the buildroot
mailing list