Skip to content

Commit

Permalink
Suport for i.MX6 platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroncano committed Jul 23, 2016
1 parent 071374d commit 81a4615
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scriptmodules/system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
}

0 comments on commit 81a4615

Please sign in to comment.