qcacld-3.0: Remove date and time from build tag

To improve build time performance remove date and time
embedding from wifi DLKM Kbuild config.

Change-Id: I465699005b0e5eee762f528a8d8f102c1987b18e
CRs-Fixed: 2855334
This commit is contained in:
Rajeev Kumar 2021-01-15 09:36:22 -08:00 committed by snandini
parent dca602f8cf
commit e6534e9442

8
Kbuild
View File

@ -3862,13 +3862,7 @@ CMN_IDS = $(shell cd "$(WLAN_COMMON_INC)" && \
git log -50 $(CMN_CHECKOUT)~..HEAD | \
sed -nE 's/^\s*Change-Id: (I[0-f]{10})[0-f]{30}\s*$$/\1/p' | \
paste -sd "," -)
# date -u +'%F %T.%6N %Z'
# %F : Full date
# %T : Time
# %6N : Nanoseconds to 6 digits
# %Z : Time zone
TIMESTAMP = $(shell date -u +'%F %T.%6N %Z')
BUILD_TAG = "$(TIMESTAMP); cld:$(CLD_IDS); cmn:$(CMN_IDS);"
BUILD_TAG = "cld:$(CLD_IDS); cmn:$(CMN_IDS);"
# It's assumed that BUILD_TAG is used only in wlan_hdd_main.c
CFLAGS_wlan_hdd_main.o += -DBUILD_TAG=\"$(BUILD_TAG)\"
endif