Skip to content

Commit

Permalink
boot/syslinux: define OBJCOPY and AS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
urjaman authored and jacmet committed Nov 30, 2021
1 parent 3376a20 commit e938419
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boot/syslinux/syslinux.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)" \
Expand Down

0 comments on commit e938419

Please sign in to comment.