Alexander Martinz | b9a2131 | 2022-08-23 14:34:11 +0200 | [diff] [blame^] | 1 | ifneq ($(filter beryllium enchilada, $(TARGET_DEVICE)),) |
Amit Pundir | 8e3de69 | 2020-02-01 18:25:51 +0530 | [diff] [blame] | 2 | |
Amit Pundir | fb9cf9b | 2022-03-27 21:52:15 +0530 | [diff] [blame] | 3 | IMAGE_GZ := device/generic/sdm845/shared/prebuilt-kernel/android-$(TARGET_KERNEL_USE)/Image.gz |
| 4 | DTB := $(wildcard device/generic/sdm845/shared/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 |