kernel: makefiles: make use of new var KERNEL_PATCHVER
[openwrt/openwrt.git] / target / linux / realview / Makefile
index 3af1e57b8f737e50e3ff2758733efb72fcd2b29c..065c170ae47b5e5316d3532d1612e9bb42c21e99 100644 (file)
@@ -10,10 +10,11 @@ ARCH:=arm
 BOARD:=realview
 BOARDNAME:=ARM Ltd. Realview board (qemu)
 FEATURES:=fpu ramdisk
-CFLAGS:=-Os -pipe -march=armv6k -mtune=mpcore -mfloat-abi=softfp -mfpu=vfp -fno-caller-saves
+CPU_TYPE:=mpcore
+CPU_SUBTYPE:=vfp
 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
 
-LINUX_VERSION:=3.10.1
+KERNEL_PATCHVER:=3.10
 
 DEVICE_TYPE:=developerboard
 
@@ -23,6 +24,6 @@ define Target/Description
        Build images for ARM Ltd. Realview boards to be run with qemu
 endef
 
-KERNELNAME:="zImage"
+KERNELNAME:=zImage
 
 $(eval $(call BuildTarget))