diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-09-12 19:59:10 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-09-12 19:59:21 +0200 |
commit | 680b1bf73cedebda44da1e15d6d1127e2b550941 (patch) | |
tree | 7d805c8379d3b8c9259611f5a7a3a0f4cb612f54 /mk | |
parent | 8cd937c090247ee1677587543aa5d85ff3e614cc (diff) |
allow to use a defconfig, enable always experimental support in kernel
Diffstat (limited to 'mk')
-rw-r--r-- | mk/kernel-build.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/kernel-build.mk b/mk/kernel-build.mk index 7194bc4dd..4649a78c5 100644 --- a/mk/kernel-build.mk +++ b/mk/kernel-build.mk @@ -42,9 +42,13 @@ $(LINUX_DIR)/.prepared: $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PK $(LINUX_DIR)/.config: $(LINUX_DIR)/.prepared $(BUILD_DIR)/.kernelconfig $(TRACE) target/$(ADK_TARGET_ARCH)-kernel-configure -for f in $(TARGETS);do if [ -f $$f ];then rm $$f;fi;done +ifeq ($(ADK_TARGET_KERNEL_USE_DEFCONFIG),y) + ${KERNEL_MAKE_ENV} $(MAKE) -C "${LINUX_DIR}" ${KERNEL_MAKE_OPTS} $(ADK_TARGET_KERNEL_DEFCONFIG) $(MAKE_TRACE) +else $(CP) $(BUILD_DIR)/.kernelconfig $(LINUX_DIR)/mini.config echo "-${KERNEL_RELEASE}" >${LINUX_DIR}/localversion ${KERNEL_MAKE_ENV} $(MAKE) -C "${LINUX_DIR}" ${KERNEL_MAKE_OPTS} KCONFIG_ALLCONFIG=mini.config allnoconfig $(MAKE_TRACE) +endif touch -c $(LINUX_DIR)/.config $(LINUX_DIR)/$(KERNEL_FILE): $(LINUX_DIR)/.config |