summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-06-06 13:03:59 -0700
committerTao Bao <tbao@google.com>2017-06-27 13:51:38 -0700
commit69c2d875724457d6801987e74f5c8d02d46d1dea (patch)
treeff55d44bb6b11ef7f695e2ff2617c50cdd5817b1
parentdc7e5e125a09769bc98db3a24a61635a53af775d (diff)
downloadhikey-69c2d875724457d6801987e74f5c8d02d46d1dea.tar.gz
Add dt.img into BOARD_PACK_RADIOIMAGES.
So it will be included into hikey960-img.zip. Bug: 62195105 Test: lunch hikey960-userdebug; m dist. Check hikey960-img.zip. Change-Id: I3309da84ea66b101daa2b84fcfeb4d71bf6b35d1
-rw-r--r--build/tasks/dtimage.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/tasks/dtimage.mk b/build/tasks/dtimage.mk
index 9dc6668b..4d6a74d4 100644
--- a/build/tasks/dtimage.mk
+++ b/build/tasks/dtimage.mk
@@ -8,5 +8,10 @@ $(PRODUCT_OUT)/dt.img: $(DTB)
$(MKDTIMG) -c -d $(DTB) -o $@
droidcore: $(PRODUCT_OUT)/dt.img
+
+# Images will be packed into target_files zip, and hikey-img.zip.
+INSTALLED_RADIOIMAGE_TARGET += $(PRODUCT_OUT)/dt.img
+BOARD_PACK_RADIOIMAGES += dt.img
+
endif
endif