From 03fa0d8a8349309ae7998e7b2907a06b9e467c4a Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat, 14 Jan 2017 14:58:55 +0100 Subject: [PATCH] Use shell-script $$(...) instead of $(shell ...) kati doesn't support passing results of $(shell) to other make constructs, as explained here: https://github.com/google/kati/issues/71 Fixes the following building error in nougat-x86: ./bootable/newinstaller/Android.mk:82: kati doesn't support passing results of $(shell) to other make constructs: date +"%F" build/core/ninja.mk:163: recipe for target 'out/build-android_x86_64.ninja' failed make: *** [out/build-android_x86_64.ninja] Error 1 --- Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android.mk b/Android.mk index 8033c6a..74aea9a 100644 --- a/Android.mk +++ b/Android.mk @@ -23,7 +23,7 @@ LOCAL_STATIC_LIBRARIES := libdiskconfig_host libcutils liblog edit_mbr := $(HOST_OUT_EXECUTABLES)/$(LOCAL_MODULE) include $(BUILD_HOST_EXECUTABLE) -VER ?= $(shell date +"%F") +VER ?= $$(date +"%F") # use squashfs for iso, unless explictly disabled ifneq ($(USE_SQUASHFS),0) -- 2.11.0