On 10/04/12 08:53, John Crispin wrote: > On 10/04/12 08:04, Tathagata Das wrote: >> diff -Naur a/include/kernel.mk b/include/kernel.mk >> --- a/include/kernel.mk 2012-04-05 13:10:50.000000000 +0530 >> +++ b/include/kernel.mk 2012-04-06 16:09:18.000000000 +0530 >> @@ -33,7 +33,7 @@ >> PATCH_DIR ?= ./patches$(if $(wildcard >> ./patches-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) >> FILES_DIR ?= $(foreach dir,$(wildcard ./files >> ./files-$(KERNEL_PATCHVER)),"$(dir)") >> endif >> - KERNEL_BUILD_DIR ?= $(BUILD_DIR_BASE)/linux-$(BOARD)$(if >> $(SUBTARGET),_$(SUBTARGET))$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX)) >> + KERNEL_BUILD_DIR ?= $(BUILD_DIR_BASE)/linux-$(BOARD)$(if >> $(BUILD_SUFFIX),_$(BUILD_SUFFIX),$(if $(SUBTARGET),_$(SUBTARGET))) >> LINUX_DIR ?= $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) >> >> LINUX_VERMAGIC:=$(strip $(shell cat $(LINUX_DIR)/.vermagic 2>/dev/null)) > > Hi. > > why do you change the order of these ? > Thanks, > John > _______________________________________________ > openwrt-devel mailing list > [email protected] > https://lists.openwrt.org/mailman/listinfo/openwrt-devel >
imho that patch is totally wrong, causing the system to drop the subtarget string. i will apply this fix with the following line KERNEL_BUILD_DIR ?= $(BUILD_DIR_BASE)/linux-$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET))$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX)) _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
