Amit Pundir | 8e3de69 | 2020-02-01 18:25:51 +0530 | [diff] [blame] | 1 | ifneq ($(filter aosp_beryllium, $(TARGET_DEVICE)),) |
| 2 | |
Amit Pundir | 097c242 | 2020-02-19 20:12:40 +0530 | [diff] [blame^] | 3 | ifndef TARGET_KERNEL_USE |
Amit Pundir | 8e3de69 | 2020-02-01 18:25:51 +0530 | [diff] [blame] | 4 | IMAGE_GZ := device/linaro/dragonboard-kernel/android-5.4/Image.gz |
| 5 | DTB := device/xiaomi/beryllium/prebuilt-kernel/android-5.4/sdm845-beryllium.dtb |
Amit Pundir | 097c242 | 2020-02-19 20:12:40 +0530 | [diff] [blame^] | 6 | else |
| 7 | IMAGE_GZ := device/xiaomi/beryllium/prebuilt-kernel/android-$(TARGET_KERNEL_USE)/Image.gz |
| 8 | DTB := device/xiaomi/beryllium/prebuilt-kernel/android-$(TARGET_KERNEL_USE)/sdm845-beryllium.dtb |
| 9 | endif |
Amit Pundir | 8e3de69 | 2020-02-01 18:25:51 +0530 | [diff] [blame] | 10 | |
| 11 | $(PRODUCT_OUT)/kernel: $(IMAGE_GZ) $(DTB) |
| 12 | cat $(IMAGE_GZ) $(DTB) > $@ |
| 13 | |
| 14 | droidcore: $(PRODUCT_OUT)/kernel |
| 15 | |
| 16 | endif |