diff --git a/Kbuild b/Kbuild index 1de5ab7f72f7..e02e75160797 100644 --- a/Kbuild +++ b/Kbuild @@ -2474,7 +2474,8 @@ CMN_IDS = $(shell cd "$(WLAN_COMMON_INC)" && \ TIMESTAMP = $(shell date -u +'%Y-%m-%dT%H:%M:%SZ') BUILD_TAG = "$(TIMESTAMP); cld:$(CLD_IDS); cmn:$(CMN_IDS);" -CDEFINES += -DBUILD_TAG=\"$(BUILD_TAG)\" +# It's assumed that BUILD_TAG is used only in wlan_hdd_main.c +CFLAGS_wlan_hdd_main.o += -DBUILD_TAG=\"$(BUILD_TAG)\" endif # Module information used by KBuild framework