diff options
author | Mike Frysinger <vapier@google.com> | 2015-10-20 19:25:39 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-10-20 19:25:39 +0000 |
commit | 01e57b832ab732199824ac6bda0b804eaad62b94 (patch) | |
tree | fd195935f1df912dfeae5e96e9769286ab0cd28b | |
parent | c3788283d70eb8b0ad5b9a0e224108262beb84b5 (diff) | |
parent | 27fb8f6caee6ad3731c46d6c61cf60a19b20e83e (diff) | |
download | extras-01e57b832ab732199824ac6bda0b804eaad62b94.tar.gz |
Merge "brillo_config: add missing mkdir for product rules"
-rw-r--r-- | brillo_config/Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/brillo_config/Android.mk b/brillo_config/Android.mk index 268692df..68032f19 100644 --- a/brillo_config/Android.mk +++ b/brillo_config/Android.mk @@ -28,6 +28,7 @@ include $(BUILD_SYSTEM)/base_rules.mk # interaction will not work if this is not set correctly. $(LOCAL_BUILT_MODULE): BRILLO_PRODUCT_ID ?= "" $(LOCAL_BUILT_MODULE): + $(hide)mkdir -p $(dir $@) echo $(BRILLO_PRODUCT_ID) > $@ include $(CLEAR_VARS) @@ -47,6 +48,7 @@ endif # Append BUILD_NUMBER if it is a number or a build timestamp otherwise. # Use DATE to generate the timestamp based on BUILD_DATETIME. $(LOCAL_BUILT_MODULE): + $(hide)mkdir -p $(dir $@) ifeq ($(shell echo $(BUILD_NUMBER) | grep -E '[^0-9]'),) echo $(BRILLO_PRODUCT_VERSION).$(BUILD_NUMBER) > $@ else |