Vivekbalachandar Marisamy | 54014b3 | 2019-11-08 06:34:08 +0000 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
Vivekbalachandar M | 9776970 | 2020-02-12 15:52:43 +0530 | [diff] [blame^] | 2 | |
| 3 | #---------------------------------------------------------------------- |
| 4 | # Compile Linux Kernel |
| 5 | #---------------------------------------------------------------------- |
| 6 | ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) |
| 7 | ifeq ($(KERNEL_DEFCONFIG),) |
| 8 | KERNEL_DEFCONFIG := fairphone_defconfig |
| 9 | endif |
| 10 | else |
| 11 | ifeq ($(KERNEL_DEFCONFIG),) |
| 12 | KERNEL_DEFCONFIG := fairphone-perf_defconfig |
| 13 | endif |
| 14 | endif |
| 15 | |
| 16 | include 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 Marisamy | 54014b3 | 2019-11-08 06:34:08 +0000 | [diff] [blame] | 24 | include $(CLEAR_VARS) |
Vivekbalachandar M | 9776970 | 2020-02-12 15:52:43 +0530 | [diff] [blame^] | 25 | LOCAL_MODULE := vold.fstab |
| 26 | LOCAL_MODULE_TAGS := optional |
| 27 | LOCAL_MODULE_CLASS := ETC |
| 28 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 29 | include $(BUILD_PREBUILT) |
| 30 | |
| 31 | include $(CLEAR_VARS) |
| 32 | LOCAL_MODULE := init.target.rc |
| 33 | LOCAL_MODULE_TAGS := optional |
| 34 | LOCAL_MODULE_CLASS := ETC |
| 35 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 36 | LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT) |
| 37 | include $(BUILD_PREBUILT) |
| 38 | |
| 39 | include $(CLEAR_VARS) |
| 40 | LOCAL_MODULE := gpio-keys.kl |
| 41 | LOCAL_MODULE_TAGS := optional |
| 42 | LOCAL_MODULE_CLASS := ETC |
| 43 | LOCAL_SRC_FILES := configs/$(LOCAL_MODULE) |
| 44 | LOCAL_MODULE_PATH := $(TARGET_OUT_KEYLAYOUT) |
| 45 | include $(BUILD_PREBUILT) |
| 46 | |
| 47 | include $(CLEAR_VARS) |
| 48 | LOCAL_MODULE := atmel_mxt_ts.kl |
| 49 | LOCAL_MODULE_TAGS := optional |
| 50 | LOCAL_MODULE_CLASS := ETC |
| 51 | LOCAL_SRC_FILES := configs/$(LOCAL_MODULE) |
| 52 | LOCAL_MODULE_PATH := $(TARGET_OUT_KEYLAYOUT) |
| 53 | include $(BUILD_PREBUILT) |
| 54 | |
| 55 | include $(CLEAR_VARS) |
| 56 | LOCAL_MODULE := synaptics_rmi4_i2c.kl |
| 57 | LOCAL_MODULE_TAGS := optional |
| 58 | LOCAL_MODULE_CLASS := ETC |
| 59 | LOCAL_SRC_FILES := configs/$(LOCAL_MODULE) |
| 60 | LOCAL_MODULE_PATH := $(TARGET_OUT_KEYLAYOUT) |
| 61 | include $(BUILD_PREBUILT) |
| 62 | |
| 63 | include $(CLEAR_VARS) |
| 64 | LOCAL_MODULE := fstab.qcom |
| 65 | LOCAL_MODULE_TAGS := optional |
| 66 | LOCAL_MODULE_CLASS := ETC |
| 67 | LOCAL_SRC_FILES := $(LOCAL_MODULE) |
| 68 | LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT) |
| 69 | include $(BUILD_PREBUILT) |
| 70 | |
| 71 | #---------------------------------------------------------------------- |
| 72 | # extra images |
| 73 | #---------------------------------------------------------------------- |
| 74 | ifeq (, $(wildcard vendor/qcom/build/tasks/generate_extra_images.mk)) |
| 75 | include device/qcom/common/generate_extra_images.mk |
| 76 | endif |
Vivekbalachandar Marisamy | 54014b3 | 2019-11-08 06:34:08 +0000 | [diff] [blame] | 77 | |