Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit of SE sources for msm7x27
- Loading branch information
0 parents
commit df50a8a
Showing
28,123 changed files
with
11,446,758 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,39 @@ | |||
#Android makefile to build kernel as a part of Android Build | |||
|
|||
ifeq ($(TARGET_PREBUILT_KERNEL),) | |||
|
|||
KERNEL_OUT := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ | |||
KERNEL_CONFIG := $(KERNEL_OUT)/.config | |||
TARGET_PREBUILT_KERNEL := $(KERNEL_OUT)/arch/arm/boot/Image | |||
|
|||
#To ensure building of target $(KERNEL_CONFIG), | |||
#make the modification time of $(KERNEL_OUT) newer. | |||
MOD_TIME_KERNEL_OUT := sleep 1; touch -am $(KERNEL_OUT) | |||
|
|||
$(KERNEL_OUT): | |||
mkdir -p $(KERNEL_OUT) | |||
|
|||
$(KERNEL_CONFIG): $(KERNEL_OUT) | |||
$(MAKE) -C kernel O=../$(KERNEL_OUT) ARCH=arm CROSS_COMPILE=arm-eabi- $(KERNEL_DEFCONFIG) | |||
|
|||
$(TARGET_PREBUILT_KERNEL): $(KERNEL_OUT) $(KERNEL_CONFIG) | |||
$(MAKE) -C kernel O=../$(KERNEL_OUT) ARCH=arm CROSS_COMPILE=arm-eabi- | |||
|
|||
kerneltags: $(KERNEL_OUT) $(KERNEL_CONFIG) | |||
$(MAKE) -C kernel O=../$(KERNEL_OUT) ARCH=arm CROSS_COMPILE=arm-eabi- tags | |||
|
|||
kernelconfig: $(KERNEL_OUT) $(KERNEL_CONFIG) | |||
env KCONFIG_NOTIMESTAMP=true \ | |||
$(MAKE) -C kernel O=../$(KERNEL_OUT) ARCH=arm CROSS_COMPILE=arm-eabi- menuconfig | |||
cp $(KERNEL_OUT)/.config kernel/arch/arm/configs/$(KERNEL_DEFCONFIG) | |||
$(MOD_TIME_KERNEL_OUT) | |||
|
|||
SEMC_BUILD_TIMESTAMP := $(shell cd kernel && scripts/timestamp_gen.sh) | |||
SEMC_BUILD_TIMESTAMP_UTC := $(shell date --date='$(SEMC_BUILD_TIMESTAMP)' +%s) | |||
$(KERNEL_OUT)/semc_kernel_time_stamp.prop: kernel/scripts/timestamp_gen.sh $(TARGET_PREBUILT_KERNEL) | |||
@echo "ro.build.date=$(SEMC_BUILD_TIMESTAMP)" > $@ | |||
@echo "ro.build.date.utc=$(SEMC_BUILD_TIMESTAMP_UTC)" >> $@ | |||
@echo "ro.build.user=SEMCUser" >> $@ | |||
@echo "ro.build.host=SEMCHost" >> $@ | |||
|
|||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,25 @@ | |||
#Android makefile to build kernel as a part of Android Build | |||
|
|||
KERNEL_CONFIG_CUST := $(KERNEL_OUT_CUST)/.config | |||
|
|||
#To ensure building of target $(KERNEL_CONFIG_CUST), | |||
#make the modification time of $(KERNEL_OUT_CUST) newer. | |||
MOD_TIME_KERNEL_OUT := sleep 1; touch -am $(KERNEL_OUT) | |||
|
|||
$(KERNEL_OUT_CUST): | |||
mkdir -p $(KERNEL_OUT_CUST) | |||
|
|||
$(KERNEL_CONFIG_CUST): $(KERNEL_OUT_CUST) | |||
$(MAKE) -C kernel O=../$(KERNEL_OUT_CUST) ARCH=arm CROSS_COMPILE=arm-eabi- $(KERNEL_DEFCONFIG_CUST) | |||
|
|||
$(TARGET_PREBUILT_KERNEL_CUST): $(KERNEL_OUT_CUST) $(KERNEL_CONFIG_CUST) | |||
$(MAKE) -C kernel O=../$(KERNEL_OUT_CUST) ARCH=arm CROSS_COMPILE=arm-eabi- | |||
|
|||
kerneltags_cust: $(KERNEL_OUT_CUST) $(KERNEL_CONFIG_CUST) | |||
$(MAKE) -C kernel O=../$(KERNEL_OUT_CUST) ARCH=arm CROSS_COMPILE=arm-eabi- tags | |||
|
|||
kernelconfig_cust: $(KERNEL_OUT_CUST) $(KERNEL_CONFIG_CUST) | |||
env KCONFIG_NOTIMESTAMP=true \ | |||
$(MAKE) -C kernel O=../$(KERNEL_OUT_CUST) ARCH=arm CROSS_COMPILE=arm-eabi- menuconfig | |||
cp $(KERNEL_OUT_CUST)/.config kernel/arch/arm/configs/$(KERNEL_DEFCONFIG_CUST) | |||
$(MOD_TIME_KERNEL_OUT) |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.