From 81a46153c2e69792c3055d8334593ea78b2825e9 Mon Sep 17 00:00:00 2001 From: "M. Broncano" Date: Sat, 23 Jul 2016 14:12:54 +0000 Subject: [PATCH] Suport for i.MX6 platforms --- scriptmodules/system.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scriptmodules/system.sh b/scriptmodules/system.sh index 4205d2a92e..9320c22f5b 100644 --- a/scriptmodules/system.sh +++ b/scriptmodules/system.sh @@ -166,6 +166,9 @@ function get_platform() { ODROIDC) __platform="odroid-c1" ;; + "Freescale i.MX6 Quad/DualLite (Device Tree)") + __platform="imx6" + ;; *) case $architecture in i686|x86_64|amd64) @@ -254,3 +257,11 @@ function platform_armv7-mali() { __platform_flags="arm armv7 neon mali" __has_binaries=0 } + +function platform_imx6() { + __default_cflags="-O3 -march=armv7-a -mfpu=neon -mtune=cortex-a9 -mfloat-abi=hard -funsafe-math-optimizations" + __default_asflags="" + __default_makeflags="-j 2" + __platform_flags="arm armv7 neon" + __has_binaries=0 +}