Skip to content

Commit

Permalink
Merge pull request #1592 from mbroncano/master
Browse files Browse the repository at this point in the history
Suport for i.MX6 platforms
  • Loading branch information
joolswills authored Jul 23, 2016
2 parents 071374d + 81a4615 commit 6915eb5
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 6915eb5

Please sign in to comment.