kernel: makefiles: make use of new var KERNEL_PATCHVER
[openwrt/openwrt.git] / target / linux / mpc85xx / Makefile
index 710e8c8b3b94fb1c857329e7fdcd8e3b7621676b..dba0361ee45a291e60bb9feea44192759f53ac1b 100644 (file)
@@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk
 ARCH:=powerpc
 BOARD:=mpc85xx
 BOARDNAME:=Freescale MPC85xx
-CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=8540
+CPU_TYPE:=8540
 FEATURES:=spe_fpu squashfs
 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
 SUBTARGETS=generic p1020
 
-LINUX_VERSION:=3.10.2
+KERNEL_PATCHVER:=3.10
 
 include $(INCLUDE_DIR)/target.mk