summaryrefslogtreecommitdiff
path: root/sub/kernel/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-01-21 15:51:40 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-01-21 15:51:40 +0000
commit0cefa319ad039f970ab10080aa9b1871fe190a3e (patch)
treefdd420002a60f8e7fa0e1b2d6b8b5e097e1f2e19 /sub/kernel/Makefile
parenta068774864cd6fb989bf0e7f42ec30b9bd74c772 (diff)
downloadlh-bootstrap-0cefa319ad039f970ab10080aa9b1871fe190a3e.tar.xz
Small incremental build fixes (19)
Diffstat (limited to 'sub/kernel/Makefile')
-rw-r--r--sub/kernel/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sub/kernel/Makefile b/sub/kernel/Makefile
index 16163a4..c8bf11d 100644
--- a/sub/kernel/Makefile
+++ b/sub/kernel/Makefile
@@ -32,8 +32,8 @@ $(OUTPUT)/build-host/kernel/.lh_configured: $(OUTPUT)/build-host/kernel/.lh_unpa
kernel-menuconfig: $(OUTPUT)/build-host/kernel/.lh_configured $(OUTPUT)/build-build/.lh_$(NCURSES_NAME)_installed | $(OUTPUT)/build-build/.lh_skarnet_installed
exec setuidgid $(NORMALUSER) cd $(OUTPUT)/build-host/kernel/linux-$(KERNEL_VERSION) $(MAKE) menuconfig $(KERNEL_ENV) \
- HOST_EXTRACFLAGS="-I$(OUTPUT)/build-build/opt/$(NCURSES_NAME)/include -DKBUILD_NO_NLS -DCURSES_LOC=\"<ncurses/ncurses.h>\"" \
- HOST_LOADLIBES="-L$(OUTPUT)/build-build/opt/$(NCURSES_NAME)/ncurses/lib -static -lncurses"
+ HOSTCXXFLAGS="-I$(OUTPUT)/build-build/opt/$(NCURSES_NAME)/include -DKBUILD_NO_NLS -DCURSES_LOC=\"<ncurses/ncurses.h>\"" \
+ HOSTLDFLAGS="-L$(OUTPUT)/build-build/opt/$(NCURSES_NAME)/ncurses/lib -static"
$(OUTPUT)/build-host/kernel/.lh_prepared: | $(OUTPUT)/tmp/.lh_prepared $(OUTPUT)/build-build/.lh_skarnet_installed
exec s6-mkdir -p $(OUTPUT)/rootfs/opt/linux-kernel-headers-$(KERNEL_VERSION)