summaryrefslogtreecommitdiff
path: root/brillo_config
diff options
context:
space:
mode:
authorNan Zhang <nanzhang@google.com>2018-02-22 09:48:12 -0800
committerNan Zhang <nanzhang@google.com>2018-02-22 09:48:12 -0800
commit4b15d3ad9ad663da0922561604b8c8aee944430a (patch)
treedc271660b9bcaf1a77cb228af4ef7b311362fc4b /brillo_config
parente8b6340578528934f338ed13158187600b85deaa (diff)
downloadextras-4b15d3ad9ad663da0922561604b8c8aee944430a.tar.gz
Fix the build failure for iot targets in master-iot-dev
Fix: system/extras/brillo_config/Android.mk:83: error: $(file ...) is not supported in rules. Test: m -j32 Bug: b/73753971 Change-Id: I96099be887f404042c28d3fa1c9f4a2e12ce1222
Diffstat (limited to 'brillo_config')
-rw-r--r--brillo_config/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/brillo_config/Android.mk b/brillo_config/Android.mk
index c132f195..cefc0826 100644
--- a/brillo_config/Android.mk
+++ b/brillo_config/Android.mk
@@ -82,7 +82,7 @@ endif
$(LOCAL_BUILT_MODULE):
$(hide) mkdir -p $(dir $@)
ifeq ($(strip $(HAS_BUILD_NUMBER)),true)
- echo $(BRILLO_SYSTEM_VERSION).$(file <$(BUILD_NUMBER_FILE)) > $@
+ echo $(BRILLO_SYSTEM_VERSION).$(shell cat $(BUILD_NUMBER_FILE)) > $@
else
echo $(BRILLO_SYSTEM_VERSION).$(BUILD_DATETIME_FROM_FILE) > $@
endif