diff --git a/core/tasks/factory_bundle.mk b/core/tasks/factory_bundle.mk index 06d7a78337..5c5adc3cde 100644 --- a/core/tasks/factory_bundle.mk +++ b/core/tasks/factory_bundle.mk @@ -15,6 +15,7 @@ # ifeq (,$(ONE_SHOT_MAKEFILE)) +ifneq ($(TARGET_BUILD_PDK),true) # PRODUCT_FACTORY_RAMDISK_MODULES consists of ":[:...]" tuples. # is relative to the staging directory for the bundle. @@ -76,5 +77,6 @@ INSTALLED_FACTORY_BUNDLE_TARGET := $(tarball) endif +endif # TARGET_BUILD_PDK endif # ONE_SHOT_MAKEFILE diff --git a/core/tasks/factory_ramdisk.mk b/core/tasks/factory_ramdisk.mk index 38a588735e..579fd6ac3a 100644 --- a/core/tasks/factory_ramdisk.mk +++ b/core/tasks/factory_ramdisk.mk @@ -15,6 +15,7 @@ # ifeq (,$(ONE_SHOT_MAKEFILE)) +ifneq ($(TARGET_BUILD_PDK),true) # PRODUCT_FACTORY_RAMDISK_MODULES consists of ":[:...]" tuples. # is relative to TARGET_FACTORY_RAMDISK_OUT. @@ -87,4 +88,5 @@ $(INSTALLED_FACTORY_RAMDISK_TARGET) : $(MKBOOTIMG) $(TARGET_RAMDISK_KERNEL) $(IN endif +endif # TARGET_BUILD_PDK endif # ONE_SHOT_MAKEFILE