Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

testing codesourcery toolchain (4.6.3)

  • Loading branch information...
commit bbe16c0483e7dfdae844ad6eba1a38912b154e68 1 parent ea4a998
Gokhan Moral authored
Showing with 9 additions and 1 deletion.
  1. +7 −1 Makefile
  2. +2 −0  build_kernel.sh
8 Makefile
View
@@ -368,7 +368,13 @@ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common \
-Werror-implicit-function-declaration \
-Wno-format-security \
- -fno-delete-null-pointer-checks
+ -fno-delete-null-pointer-checks \
+-marm -mtune=cortex-a9 -march=armv7-a \
+-fgraphite-identity -ftree-loop-distribution \
+-floop-interchange -floop-block -floop-strip-mine -ftree-loop-linear \
+-funswitch-loops -fpredictive-commoning -ffast-math -fgcse-after-reload \
+-fipa-cp-clone
+
KBUILD_AFLAGS_KERNEL :=
KBUILD_CFLAGS_KERNEL :=
KBUILD_AFLAGS := -D__ASSEMBLY__
2  build_kernel.sh
View
@@ -3,7 +3,9 @@ export KERNELDIR=`readlink -f .`
export RAMFS_SOURCE=`readlink -f $KERNELDIR/../ramfs-sgs3`
export PARENT_DIR=`readlink -f ..`
export USE_SEC_FIPS_MODE=true
+if [ "a$CROSS_COMPILE" == "a" ];then
CROSS_COMPILE=$PARENT_DIR/android_prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
+fi
if [ "${1}" != "" ];then
export KERNELDIR=`readlink -f ${1}`
Please sign in to comment.
Something went wrong with that request. Please try again.