X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/cce886cc81c0cf9f495d6f2e56eaeb8dfe26694f..7e450a1c869a5b227e3c91c4e71049059f1193e6:/include/kernel-build.mk diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 50c9fced0..93bf66dbc 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -13,7 +13,7 @@ include $(INCLUDE_DIR)/prereq.mk LINUX_CONFIG ?= ./config/default --include $(GENERIC_PLATFORM_DIR)/config-template +-include $(TOPDIR)/target/linux/generic-$(KERNEL)/config-template -include $(LINUX_CONFIG) ifneq ($(CONFIG_ATM),) @@ -136,6 +136,7 @@ define Kernel/CompileImage/Default $(call Kernel/SetInitramfs) $(MAKE) -j$(CONFIG_JLEVEL) $(KERNEL_MAKEOPTS) CC="$(KERNEL_CC)" $(KERNELNAME) $(KERNEL_CROSS)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S $(LINUX_DIR)/vmlinux $(LINUX_KERNEL) + $(KERNEL_CROSS)objcopy -R .reginfo -R .note -R .comment -R .mdebug -S $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux.elf endef define Kernel/CompileImage $(call Kernel/CompileImage/Default)