Skip to content

Commit

Permalink
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
androidarmv6-gerrit committed Nov 6, 2014
2 parents 3b9e9a3 + d559aac commit ef6989d
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions core/product_config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -179,19 +179,20 @@ include $(BUILD_SYSTEM)/node_fns.mk
include $(BUILD_SYSTEM)/product.mk
include $(BUILD_SYSTEM)/device.mk

ifneq ($(strip $(TARGET_BUILD_APPS)),)
# An unbundled app build needs only the core product makefiles.
all_product_configs := $(call get-product-makefiles,\
$(SRC_TARGET_DIR)/product/AndroidProducts.mk)
# A CM build needs only the CM product makefiles.
ifneq ($(CM_BUILD),)
all_product_configs := $(shell ls device/*/$(CM_BUILD)/cm.mk)
else
ifneq ($(CM_BUILD),)
all_product_configs := $(shell ls device/*/$(CM_BUILD)/cm.mk)
ifneq ($(strip $(TARGET_BUILD_APPS)),)
# An unbundled app build needs only the core product makefiles.
all_product_configs := $(call get-product-makefiles,\
$(SRC_TARGET_DIR)/product/AndroidProducts.mk)
else
# Read in all of the product definitions specified by the AndroidProducts.mk
# files in the tree.
all_product_configs := $(get-all-product-makefiles)
endif # CM_BUILD
endif
endif # TARGET_BUILD_APPS
endif # CM_BUILD

ifeq ($(CM_BUILD),)
# Find the product config makefile for the current product.
Expand Down

0 comments on commit ef6989d

Please sign in to comment.