X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ac52e3bd03bcaf6ad5c48c01a4697aa201000433..0555f214cf15c0b63a4944cdf288e8d75b10ec14:/include/kernel-defaults.mk diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 84030a6d2..1bd6b427a 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -33,7 +33,7 @@ KERNEL_MAKEOPTS := -C $(LINUX_DIR) \ # defined in quilt.mk Kernel/Patch:=$(Kernel/Patch/Default) define Kernel/Prepare/Default - bzcat $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS) + bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS) $(Kernel/Patch) endef @@ -47,9 +47,9 @@ define Kernel/Configure/2.6 endef define Kernel/Configure/Default @if [ -f "./config/profile-$(PROFILE)" ]; then \ - $(SCRIPT_DIR)/config.pl '+' $(GENERIC_PLATFORM_DIR)/config-template '+' $(LINUX_CONFIG) ./config/profile-$(PROFILE) > $(LINUX_DIR)/.config; \ + $(SCRIPT_DIR)/config.pl '+' $(GENERIC_LINUX_CONFIG) '+' $(LINUX_CONFIG) ./config/profile-$(PROFILE) > $(LINUX_DIR)/.config; \ else \ - $(SCRIPT_DIR)/config.pl '+' $(GENERIC_PLATFORM_DIR)/config-template $(LINUX_CONFIG) > $(LINUX_DIR)/.config; \ + $(SCRIPT_DIR)/config.pl '+' $(GENERIC_LINUX_CONFIG) $(LINUX_CONFIG) > $(LINUX_DIR)/.config; \ fi $(call Kernel/Configure/$(KERNEL)) rm -rf $(KERNEL_BUILD_DIR)/modules