Alexander Martinz | 38bb825 | 2022-01-07 17:16:46 +0100 | [diff] [blame] | 1 | ifneq ($(filter axolotl beryllium enchilada, $(TARGET_DEVICE)),) |
Amit Pundir | 8e3de69 | 2020-02-01 18:25:51 +0530 | [diff] [blame] | 2 | |
Caleb Connolly | ac63902 | 2021-08-06 10:21:00 +0100 | [diff] [blame] | 3 | IMAGE_GZ := device/generic/sdm845/prebuilt-kernel/android-$(TARGET_KERNEL_USE)/Image.gz |
Caleb Connolly | c16ea4a | 2021-11-01 17:47:50 +0000 | [diff] [blame] | 4 | DTB := $(wildcard device/generic/sdm845/prebuilt-kernel/android-$(TARGET_KERNEL_USE)/*.dtb) |
Amit Pundir | 8e3de69 | 2020-02-01 18:25:51 +0530 | [diff] [blame] | 5 | |
| 6 | $(PRODUCT_OUT)/kernel: $(IMAGE_GZ) $(DTB) |
| 7 | cat $(IMAGE_GZ) $(DTB) > $@ |
| 8 | |
| 9 | droidcore: $(PRODUCT_OUT)/kernel |
| 10 | |
| 11 | endif |