summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2011-01-07 19:12:44 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-07 23:29:55 +0100
commit8f374d02053d5125df10515084180a6961f35f2d (patch)
tree861f6af68aca3c50211e3c053a1972299d6c07d3 /mk
parent6eca921234f8c167e0fe4607b799d452cbe3dd72 (diff)
fix “make kernelconfig” (2 things):
• patch from wbx to have it copied from/to the correct directory • honour HOSTCC, HOSTCFLAGS Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/build.mk b/mk/build.mk
index f8143311c..662ebc221 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -191,9 +191,9 @@ switch:
fi
kernelconfig:
- cp $(TOPDIR)/target/$(ARCH)/kernel.config $(BUILD_DIR)/linux/.config
- $(MAKE) -C $(BUILD_DIR)/linux/ ARCH=$(ARCH) menuconfig
- cp $(BUILD_DIR)/linux/.config $(TOPDIR)/target/$(ARCH)/kernel.config
+ cp $(TOPDIR)/target/$(ADK_TARGET_ARCH)/kernel.config $(BUILD_DIR)/linux/.config
+ ${KERNEL_MAKE_ENV} ${MAKE} ${KERNEL_MAKE_OPTS} -C $(BUILD_DIR)/linux menuconfig
+ cp $(BUILD_DIR)/linux/.config $(TOPDIR)/target/$(ADK_TARGET_ARCH)/kernel.config
# create a new package from package/.template
newpackage: