blob: b81b7d8a5e1e95427df75d94e706f52a45954fdd [file] [log] [blame]
Vivekbalachandar Marisamy54014b32019-11-08 06:34:08 +00001LOCAL_PATH := $(call my-dir)
Vivekbalachandar M97769702020-02-12 15:52:43 +05302
3#----------------------------------------------------------------------
4# Compile Linux Kernel
5#----------------------------------------------------------------------
6ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
7ifeq ($(KERNEL_DEFCONFIG),)
8 KERNEL_DEFCONFIG := fairphone_defconfig
9endif
10else
11ifeq ($(KERNEL_DEFCONFIG),)
12 KERNEL_DEFCONFIG := fairphone-perf_defconfig
13endif
14endif
15
16include kernel/msm8974/AndroidKernel.mk
17
18$(INSTALLED_KERNEL_TARGET): $(TARGET_PREBUILT_KERNEL) | $(ACP)
19 $(transform-prebuilt-to-target)
20
21#----------------------------------------------------------------------
22# Copy additional target-specific files
23#----------------------------------------------------------------------
Vivekbalachandar Marisamy54014b32019-11-08 06:34:08 +000024include $(CLEAR_VARS)
Vivekbalachandar M97769702020-02-12 15:52:43 +053025LOCAL_MODULE := vold.fstab
26LOCAL_MODULE_TAGS := optional
27LOCAL_MODULE_CLASS := ETC
28LOCAL_SRC_FILES := $(LOCAL_MODULE)
29include $(BUILD_PREBUILT)
30
31include $(CLEAR_VARS)
32LOCAL_MODULE := init.target.rc
33LOCAL_MODULE_TAGS := optional
34LOCAL_MODULE_CLASS := ETC
35LOCAL_SRC_FILES := $(LOCAL_MODULE)
36LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
37include $(BUILD_PREBUILT)
38
39include $(CLEAR_VARS)
40LOCAL_MODULE := gpio-keys.kl
41LOCAL_MODULE_TAGS := optional
42LOCAL_MODULE_CLASS := ETC
43LOCAL_SRC_FILES := configs/$(LOCAL_MODULE)
44LOCAL_MODULE_PATH := $(TARGET_OUT_KEYLAYOUT)
45include $(BUILD_PREBUILT)
46
47include $(CLEAR_VARS)
48LOCAL_MODULE := atmel_mxt_ts.kl
49LOCAL_MODULE_TAGS := optional
50LOCAL_MODULE_CLASS := ETC
51LOCAL_SRC_FILES := configs/$(LOCAL_MODULE)
52LOCAL_MODULE_PATH := $(TARGET_OUT_KEYLAYOUT)
53include $(BUILD_PREBUILT)
54
55include $(CLEAR_VARS)
56LOCAL_MODULE := synaptics_rmi4_i2c.kl
57LOCAL_MODULE_TAGS := optional
58LOCAL_MODULE_CLASS := ETC
59LOCAL_SRC_FILES := configs/$(LOCAL_MODULE)
60LOCAL_MODULE_PATH := $(TARGET_OUT_KEYLAYOUT)
61include $(BUILD_PREBUILT)
62
63include $(CLEAR_VARS)
64LOCAL_MODULE := fstab.qcom
65LOCAL_MODULE_TAGS := optional
66LOCAL_MODULE_CLASS := ETC
67LOCAL_SRC_FILES := $(LOCAL_MODULE)
68LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
69include $(BUILD_PREBUILT)
70
71#----------------------------------------------------------------------
72# extra images
73#----------------------------------------------------------------------
74ifeq (, $(wildcard vendor/qcom/build/tasks/generate_extra_images.mk))
75include device/qcom/common/generate_extra_images.mk
76endif
Vivekbalachandar Marisamy54014b32019-11-08 06:34:08 +000077