Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

optimize compile flags

Change-Id: I2353bf14ae2e99932611b892982451e05465711e
  • Loading branch information...
commit f52643fd6c0e5ea33ff948e6fa468f0526f62860 1 parent 700c6f2
@KonstaT authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 Makefile
  2. +1 −1  arch/arm/configs/cyanogen_blade_defconfig
View
4 Makefile
@@ -336,8 +336,8 @@ MODFLAGS = -DMODULE
CFLAGS_MODULE = $(MODFLAGS)
AFLAGS_MODULE = $(MODFLAGS)
LDFLAGS_MODULE = -T $(srctree)/scripts/module-common.lds
-CFLAGS_KERNEL =
-AFLAGS_KERNEL =
+CFLAGS_KERNEL = -O2 -fomit-frame-pointer -pipe -ffast-math -mtune=arm1136jf-s -mfloat-abi=softfp -fsingle-precision-constant -mfpu=vfp
+AFLAGS_KERNEL = -O2 -fomit-frame-pointer -pipe -ffast-math -mtune=arm1136jf-s -mfloat-abi=softfp -fsingle-precision-constant -mfpu=vfp
CFLAGS_GCOV = -fprofile-arcs -ftest-coverage
View
2  arch/arm/configs/cyanogen_blade_defconfig
@@ -88,7 +88,7 @@ CONFIG_RD_GZIP=y
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
# CONFIG_RD_LZO is not set
-CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_PANIC_TIMEOUT=0
Please sign in to comment.
Something went wrong with that request. Please try again.