aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2013-07-26 12:19:20 -0700
committerYing Wang <wangying@google.com>2013-07-26 12:19:20 -0700
commit94de1eba0e87297421789b339c5f26bf3e48eeb1 (patch)
tree43c35bd693022c5c0a43cdd245aca198220e487e
parent701a07fd33a14f63e6baf4d1dfa36fd7035a8259 (diff)
downloadbuild-94de1eba0e87297421789b339c5f26bf3e48eeb1.tar.gz
Put a copy of the radio/bootloader files in the dist dir.
Bug: 10035750 Change-Id: I3b51e61ec737899d9264885a1e66c89a7a740d54
-rw-r--r--core/definitions.mk1
-rw-r--r--core/main.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/core/definitions.mk b/core/definitions.mk
index 7834baa4d0..06437f7a38 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -1999,6 +1999,7 @@ endef
###########################################################
## Define device-specific radio files
###########################################################
+INSTALLED_RADIOIMAGE_TARGET :=
# Copy a radio image file to the output location, and add it to
# INSTALLED_RADIOIMAGE_TARGET.
diff --git a/core/main.mk b/core/main.mk
index 6a077e48fb..3a432de0d5 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -828,6 +828,10 @@ else # TARGET_BUILD_APPS
$(INSTALLED_FACTORY_BUNDLE_TARGET) \
)
+ # Put a copy of the radio/bootloader files in the dist dir.
+ $(foreach f,$(INSTALLED_RADIOIMAGE_TARGET), \
+ $(call dist-for-goals, droidcore, $(f)))
+
ifneq ($(TARGET_BUILD_PDK),true)
$(call dist-for-goals, droidcore, \
$(APPS_ZIP) \