add portability fixes for toolchain/tools (full tools/toolchain build works on osx...
[openwrt.git] / include / kernel.mk
index 7c23aac..bd558ce 100644 (file)
@@ -16,7 +16,7 @@ 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)
   else
   # oops, old .kernel.config; rebuild it (hiding the misleading errors this produces)
     $(warning rebuilding .kernel.mk)
@@ -42,6 +42,9 @@ else
   ifneq (,$(findstring x86,$(BOARD)))
     KERNELNAME="bzImage"
   endif
+  ifneq (,$(findstring ppc,$(BOARD)))
+    KERNELNAME="uImage"
+  endif
 
   ifneq (,$(findstring uml,$(BOARD)))
     LINUX_KARCH:=um
This page took 0.01952 seconds and 4 git commands to generate.