X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/597d9811aee6be6ebfd7114ad287806ea659d379..efefaf61f9d2b701556f8d77dc9acfed176575dc:/include/kernel-defaults.mk diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 529b33085..1bd6b427a 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -21,6 +21,9 @@ endif ifneq (,$(findstring ppc,$(BOARD))) KERNELNAME="uImage" endif +ifneq (,$(findstring avr32,$(BOARD))) + KERNELNAME="uImage" +endif KERNEL_MAKEOPTS := -C $(LINUX_DIR) \ CROSS_COMPILE="$(KERNEL_CROSS)" \ @@ -30,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 @@ -44,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