Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
7d10ac6
ArchiToolchain GCC 5.1.x Cortex-A7
TheNotOnly Nov 11, 2015
1a83532
ARCH=arm Makefile
TheNotOnly Nov 11, 2015
ee64fe2
Add GCC 5.x Support
TheNotOnly Nov 11, 2015
2c49efb
Fix GCC 5.x compile warnings
TheNotOnly Dec 11, 2015
14acae6
Add script for automatic build and RAMDISK for CM kernel
TheNotOnly Nov 12, 2015
a0ca64c
Edit build.sh for 4 cores processor
TheNotOnly Dec 11, 2015
1d1dc5a
updated build.sh for cm defconfig
TheNotOnly Dec 11, 2015
485b5c1
Fix compilation error caused by return_address.c
TheNotOnly Dec 11, 2015
c92da6c
updated boot.img for cm13
TheNotOnly Dec 11, 2015
fd2c805
Removed DEBUG from defconfig
TheNotOnly Dec 11, 2015
1551983
Update RAMDISK
TheNotOnly Dec 11, 2015
4a571ba
Added I/O Schedulers
TheNotOnly Dec 11, 2015
a1105a8
msm: mdss: Add KCAL support for post processing control [v2]
TheNotOnly Nov 12, 2015
5b09dd2
s/dyn_sync_cntrl: dynamic sync control
TheNotOnly Nov 12, 2015
49bc4ba
Added Intelli Plug
TheNotOnly Dec 11, 2015
2e43c32
Added Support for earlysuspend
TheNotOnly Dec 11, 2015
ed95624
Fixed compile warning in intelli plug caused by earlysuspend
TheNotOnly Nov 12, 2015
a0cc657
Added several cpu and gpu freq and gpu/ram/bus OC
TheNotOnly Dec 11, 2015
e5482fe
powersuspend: new PM kernel driver for Android w/o early_suspend
TheNotOnly Dec 11, 2015
d35e77c
kernel/power/powersuspend: remove userspace dependency from powersuspend
TheNotOnly Nov 12, 2015
5cca247
kernel/power/powersuspend: add back userpace control w/ default kerne…
TheNotOnly Nov 12, 2015
0a5eeaf
kernel/power/powersuspend: LCD screen on/off hooks
TheNotOnly Nov 12, 2015
d386352
Update powersuspend to v1.5
TheNotOnly Nov 12, 2015
9e8bcab
Update powersuspend to v1.5
TheNotOnly Nov 12, 2015
4f31f91
Fixed touchscreen compile warning caused by earlysuspend implementation
TheNotOnly Nov 12, 2015
5570b76
Fix compile waning in decompress_unlzo due to GCC 5 implementation
TheNotOnly Nov 12, 2015
2536077
Simple GPU Algorithm: Initial coding for devfreq based Adreno Drivers
TheNotOnly Nov 12, 2015
620c97e
Added Alucard Hotplug
TheNotOnly Nov 12, 2015
7f36a4d
Updated Defconfig
TheNotOnly Dec 11, 2015
287894e
Removed DEBUG from defconfig *Temporary* (reverted from commit 397be0…
TheNotOnly Dec 11, 2015
d37bed7
Added SmartassH3 and OndemandPlus
TheNotOnly Nov 12, 2015
73151b0
Added Support for earlysuspend
TheNotOnly Nov 12, 2015
40f6844
Added SmartassH3 and OndemandPlus
TheNotOnly Nov 12, 2015
8dd3bb7
Added 17 Governors
TheNotOnly Nov 12, 2015
84f7d9e
cpufreq: Move get_cpu_idle_time() to cpufreq.c and added wheatley gov…
TheNotOnly Nov 12, 2015
22bdb7d
0001-Fixed-early-suspend-in-governors.patch
TheNotOnly Nov 12, 2015
74670d0
cputime: Librarize per nsecs resolution cputime definitions
TheNotOnly Nov 12, 2015
0e03c96
sched: Move cputime code to its own file
TheNotOnly Nov 12, 2015
957e87b
cputime: Move thread_group_cputime() to sched code
TheNotOnly Nov 12, 2015
f88982a
cputime: Rename thread_group_times to thread_group_cputime_adjusted
TheNotOnly Nov 12, 2015
5629358
cputime: Consolidate cputime adjustment code
TheNotOnly Nov 12, 2015
5453b4d
cputime: Comment cputime's adjusting code
TheNotOnly Nov 12, 2015
86d0016
cputime: Move default nsecs_to_cputime() to jiffies based cputime file
TheNotOnly Nov 12, 2015
2829911
Removed lagfree governor
TheNotOnly Nov 12, 2015
9a6743f
BOOT_CPU undeclared fix
TheNotOnly Nov 12, 2015
489a682
Fix smartassv2
TheNotOnly Nov 12, 2015
94f47f6
Fixed all section mismatches
TheNotOnly Nov 12, 2015
46cbab2
staging: zram/zcache: swtich Kconfig dependency from x86 to ZSMALLOC
TheNotOnly Nov 12, 2015
12cfc7d
staging: zcache: don't limit number of pools per client
TheNotOnly Nov 12, 2015
ef6975e
staging: zcache: fix refcount leak
TheNotOnly Nov 12, 2015
ca2ceed
staging: zcache: fix a compile warning
TheNotOnly Nov 12, 2015
cf498ec
Added Alucard governor
TheNotOnly Nov 12, 2015
4ee648f
Alucard gov
TheNotOnly Nov 12, 2015
1f3205f
Sound Control 3.2
TheNotOnly Nov 12, 2015
ae762fd
Sound Control: expose direct register manipulations to userspace
TheNotOnly Nov 12, 2015
6f98a89
Sound Control: Misc clean up for newer WCD9xxx SOCs
TheNotOnly Nov 12, 2015
37f83ca
Sound Control: let register lock be dependent on different hw revisions
TheNotOnly Nov 12, 2015
b8da9a3
sound control: remove checksum
TheNotOnly Nov 12, 2015
d7fd198
Fix all governor mismatches
TheNotOnly Nov 12, 2015
1cfe3cc
Add usb fastcharge
TheNotOnly Nov 13, 2015
a7d8632
updated defconfig
TheNotOnly Dec 11, 2015
591868c
Increased zram size in ramdisk
TheNotOnly Dec 12, 2015
2c64b48
Updated Ramdisk tools
TheNotOnly Dec 13, 2015
ddb1958
renamed ramdisk folder
TheNotOnly Dec 13, 2015
d8820b3
Updated defconfig to add more tcp congestion
TheNotOnly Dec 13, 2015
5ee6df1
Add makefile flags (vfpv4 & hard float abi)
TheNotOnly Dec 13, 2015
bfd4369
ARM: add support for kernel mode NEON
TheNotOnly Sep 7, 2015
1a48c0e
GPU optimisation
TheNotOnly Sep 7, 2015
ebefafc
ARM: use -mcpu=cortex-a7 when targeting MSM8226 CPUs (Cortex-A7 based)
TheNotOnly Sep 7, 2015
7d41051
ARM: move VFP init to an earlier boot stage
TheNotOnly Sep 7, 2015
ce8dd3b
ARM: only allow kernel mode neon with AEABI
TheNotOnly Sep 7, 2015
fcfb574
ARM: be strict about FP exceptions in kernel mode
TheNotOnly Sep 7, 2015
62206fb
arm/crypto: Add optimized AES and SHA1 routines
TheNotOnly Sep 7, 2015
7063e9e
Add config for optimized AES and SHA1 routines
TheNotOnly Dec 13, 2015
eef4d9c
ARM: crypto: add NEON accelerated XOR implementation
TheNotOnly Sep 7, 2015
bde20d5
ARM: 7835/2: fix modular build of xor_blocks() with NEON enabled
TheNotOnly Sep 7, 2015
7fa06e0
more Cortex-A7 optimizations
TheNotOnly Sep 7, 2015
3bdb858
drivers: slimbus: initial overclocking of slimbus
TheNotOnly Sep 7, 2015
b538c77
DRIVERS: SLIMBUS: slimbus enhancements mkII
TheNotOnly Sep 7, 2015
c5f4bd7
ARM: add support for bit sliced AES using NEON instructions
TheNotOnly Sep 7, 2015
cfa60b4
Add config for bit sliced AES using NEON instructions
TheNotOnly Dec 13, 2015
b75e09b
crypto: create generic version of ablk_helper
TheNotOnly Sep 7, 2015
dda0e3b
crypto: ablk_helper - Replace memcpy with struct assignment
TheNotOnly Sep 7, 2015
cdf91ce
O2 to Ofast
TheNotOnly Dec 13, 2015
cc98903
more ofast
TheNotOnly Dec 13, 2015
8a44c61
Use O3 instead of Ofast
TheNotOnly Sep 15, 2015
98669b6
Kernel 16.0 CM13 Release
TheNotOnly Dec 13, 2015
95cb02b
Merge pull request #1 from CM-LG-MSM8226/cm-13.0
TheNotOnly Dec 16, 2015
b7818cc
Update build.sh
TheNotOnly Dec 16, 2015
0c691c7
Create d722compile.sh
TheNotOnly Dec 16, 2015
f396c0c
Update d722compile.sh
TheNotOnly Dec 16, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
42 changes: 24 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
export KBUILD_BUILDHOST := $(SUBARCH)
ARCH ?= $(SUBARCH)
CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%)
ARCH := arm

# Architecture as present in compile.h
UTS_MACHINE := $(ARCH)
Expand Down Expand Up @@ -245,8 +246,8 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \

HOSTCC = gcc
HOSTCXX = g++
HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
HOSTCXXFLAGS = -O2
HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O3 -fomit-frame-pointer -pipe -DNDEBUG -fgcse-las
HOSTCXXFLAGS = -pipe -DNDEBUG -O3 -fgcse-las -fgraphite -fgraphite-identity

# Decide whether to build built-in, modular, or both.
# Normally, just do built-in.
Expand Down Expand Up @@ -331,7 +332,7 @@ include $(srctree)/scripts/Kbuild.include
AS = $(CROSS_COMPILE)as
LD = $(CROSS_COMPILE)ld
REAL_CC = $(CROSS_COMPILE)gcc
CPP = $(CC) -E
CPP = $(CC) -E -fno-pic -march=armv7-a -mfpu=neon-vfpv4
AR = $(CROSS_COMPILE)ar
NM = $(CROSS_COMPILE)nm
STRIP = $(CROSS_COMPILE)strip
Expand All @@ -351,11 +352,13 @@ CC = $(srctree)/scripts/gcc-wrapper.py $(REAL_CC)

CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
-Wbitwise -Wno-return-void $(CF)
CFLAGS_MODULE =
AFLAGS_MODULE =
LDFLAGS_MODULE =
CFLAGS_KERNEL =
AFLAGS_KERNEL =
KERNELFLAGS = -pipe -DNDEBUG -O3 -marm -mfpu=neon-vfpv4 -ftree-vectorize -mvectorize-with-neon-quad -munaligned-access -fgcse-lm -fgcse-sm -fsingle-precision-constant -fforce-addr -fsched-spec-load
MODFLAGS = -DMODULE $(KERNELFLAGS)
CFLAGS_MODULE = $(MODFLAGS)
AFLAGS_MODULE = $(MODFLAGS)
LDFLAGS_MODULE = -T $(srctree)/scripts/module-common.lds
CFLAGS_KERNEL = $(KERNELFLAGS) -fpredictive-commoning
AFLAGS_KERNEL = $(KERNELFLAGS)
CFLAGS_GCOV = -fprofile-arcs -ftest-coverage


Expand All @@ -371,13 +374,14 @@ KBUILD_CPPFLAGS := -D__KERNEL__
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
KBUILD_AFLAGS_KERNEL :=
KBUILD_CFLAGS_KERNEL :=
-Wno-format-security -Wno-array-bounds \
-fno-delete-null-pointer-checks \
$(KERNELFLAGS)
KBUILD_AFLAGS_KERNEL := $(KERNELFLAGS)
KBUILD_CFLAGS_KERNEL := $(KERNELFLAGS)
KBUILD_AFLAGS := -D__ASSEMBLY__
KBUILD_AFLAGS_MODULE := -DMODULE
KBUILD_CFLAGS_MODULE := -DMODULE -fno-pic
KBUILD_AFLAGS_MODULE := $(MODFLAGS)
KBUILD_CFLAGS_MODULE := $(MODFLAGS)
KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds

# Read KERNELRELEASE from include/config/kernel.release (if it exists)
Expand Down Expand Up @@ -565,14 +569,14 @@ all: vmlinux
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,)
else
KBUILD_CFLAGS += -O2
KBUILD_CFLAGS += -O3 -fmodulo-sched -fmodulo-sched-allow-regmoves -fno-tree-vectorize -Wno-array-bounds $(call cc-disable-warning,maybe-uninitialized,)
endif

include $(srctree)/arch/$(SRCARCH)/Makefile

ifneq ($(CONFIG_FRAME_WARN),0)
KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN})
endif
#ifneq ($(CONFIG_FRAME_WARN),0)
#KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN})
#endif

# Force gcc to behave correct even for buggy distributions
ifndef CONFIG_CC_STACKPROTECTOR
Expand All @@ -596,6 +600,8 @@ KBUILD_CFLAGS += -fomit-frame-pointer
endif
endif

KBUILD_CFLAGS += $(call cc-option, -fno-var-tracking-assignments)

ifdef CONFIG_DEBUG_INFO
KBUILD_CFLAGS += -g
KBUILD_AFLAGS += -gdwarf-2
Expand Down
Binary file added Output/BreadandButterKernel_CM/META-INF/CERT.RSA
Binary file not shown.
Loading