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) \