X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3f494f8d220f2b1a40a6749e814b46eca48792ac..66ba7ac042972065d06ce3bdb09bbe3b42368057:/include/kernel.mk?ds=sidebyside diff --git a/include/kernel.mk b/include/kernel.mk index c788bf1c4..580e3951d 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -16,7 +16,8 @@ else # check to see if .kernel.mk matches target.mk ifeq ($(CONFIG_BOARD)-$(CONFIG_KERNEL),$(BOARD)-$(KERNEL)) LINUX_VERSION:=$(CONFIG_LINUX_VERSION) - RELEASE:=$(CONFIG_RELEASE) + LINUX_RELEASE:=$(CONFIG_LINUX_RELEASE) + LINUX_KARCH:=$(CONFIG_LINUX_KARCH) else # oops, old .kernel.config; rebuild it (hiding the misleading errors this produces) $(warning rebuilding .kernel.mk) @@ -30,14 +31,6 @@ else LINUX_KMOD_SUFFIX=o endif - LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \ - -e 's/mipsel/mips/' \ - -e 's/mipseb/mips/' \ - -e 's/powerpc/ppc/' \ - -e 's/sh[234]/sh/' \ - -e 's/armeb/arm/' \ - ) - KERNELNAME= ifneq (,$(findstring x86,$(BOARD))) KERNELNAME="bzImage"