6752d4cb08
The OpenWrt build system uses MACHINE_FEATURES of fpu to set the HAS_FPU which in turn sets the default of CONFIG_SOFT_FLOAT as well as uClibc configuration. As the IMX6 SoC has both vfpv3 and NEON hardware support we want to add fpu to the feature list. This will default the IMX6 target to use -mfloat-abi=hard which will the be most efficient use of floating point. When switching to hard float, we also need to enable VFP support in the kernel. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 39759
24 lines
509 B
Makefile
24 lines
509 B
Makefile
#
|
|
# Copyright (C) 2013 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=arm
|
|
BOARD:=imx6
|
|
BOARDNAME:=Freescale i.MX 6 Series
|
|
FEATURES:=audio display fpu gpio pcie rtc usb usbgadget squashfs targz ubifs
|
|
CPU_TYPE:=cortex-a9
|
|
CPU_SUBTYPE:=vfpv3
|
|
MAINTAINER:=Luka Perkov <luka@openwrt.org>
|
|
|
|
LINUX_VERSION:=3.10.32
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
KERNELNAME:="zImage dtbs"
|
|
|
|
$(eval $(call BuildTarget))
|