X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3b6ddf5f3d9932030bc1d508dc2f097d12d465ed..85e7844dcff7f68a07d9a6160fc6a957ee16591c:/include/kernel-build.mk?ds=inline diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 061d60492..6d9c9d978 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -33,8 +33,8 @@ ifeq ($(DUMP),1) else all: compile endif -KERNEL:=2.$(word 2,$(subst ., ,$(strip $(LINUX_VERSION)))) +include $(INCLUDE_DIR)/kernel-version.mk include $(INCLUDE_DIR)/host.mk include $(INCLUDE_DIR)/kernel.mk @@ -56,6 +56,9 @@ KERNELNAME= ifneq (,$(findstring x86,$(BOARD))) KERNELNAME="bzImage" endif +ifneq (,$(findstring rdc,$(BOARD))) + KERNELNAME="bzImage" +endif ifneq (,$(findstring ppc,$(BOARD))) KERNELNAME="uImage" endif