Skip to content

Commit

Permalink
testing codesourcery toolchain (4.6.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
gokhanmoral committed Jun 17, 2012
1 parent ea4a998 commit bbe16c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Expand Up @@ -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__
Expand Down
2 changes: 2 additions & 0 deletions build_kernel.sh
Expand Up @@ -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}`
Expand Down

0 comments on commit bbe16c0

Please sign in to comment.