Skip to content

Commit

Permalink
build: fix kernel_menuconfig on macOS with newer kernel versions
Browse files Browse the repository at this point in the history
Account for upstream build system changes

Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
nbd168 committed Apr 9, 2020
1 parent cd510e7 commit 5c6fe8e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/kernel-build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,11 @@ define BuildKernel
rm -f $(STAMP_CONFIGURED)
$(LINUX_RECONF_CMD) > $(LINUX_DIR)/.config
$(_SINGLE)$(KERNEL_MAKE) \
$(if $(findstring Darwin,$(HOST_OS)),HOST_LOADLIBES="-L$(STAGING_DIR_HOST)/lib -lncurses") \
$(if $(findstring Darwin,$(HOST_OS)), \
HOST_LOADLIBES="-L$(STAGING_DIR_HOST)/lib -lncurses" \
HOSTLDLIBS_mconf="-L$(STAGING_DIR_HOST)/lib -lncurses" \
filechk_conf_cfg=" :" \
) \
YACC=$(STAGING_DIR_HOST)/bin/bison \
$$@
$(LINUX_RECONF_DIFF) $(LINUX_DIR)/.config | \
Expand Down

0 comments on commit 5c6fe8e

Please sign in to comment.