boot/syslinux: define OBJCOPY and AS
This fixes build on an ARM64 host (and I assume also other non-x86). Signed-off-by: Urja Rannikko <urjaman@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
3376a20b2d
commit
e938419bd9
@ -60,6 +60,8 @@ define SYSLINUX_BUILD_CMDS
|
|||||||
$(TARGET_MAKE_ENV) $(MAKE1) \
|
$(TARGET_MAKE_ENV) $(MAKE1) \
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
LD="$(TARGET_LD)" \
|
LD="$(TARGET_LD)" \
|
||||||
|
OBJCOPY="$(TARGET_OBJCOPY)" \
|
||||||
|
AS="$(TARGET_AS)" \
|
||||||
NASM="$(HOST_DIR)/bin/nasm" \
|
NASM="$(HOST_DIR)/bin/nasm" \
|
||||||
CC_FOR_BUILD="$(HOSTCC)" \
|
CC_FOR_BUILD="$(HOSTCC)" \
|
||||||
CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \
|
CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \
|
||||||
|
Loading…
Reference in New Issue
Block a user