mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
qcacld-3.0: Add option to avoid timestamp in version string
Adding timestamp in version string is causing long compile times for wlan project. Add option to avoid timestamp so that developers can avoid long compile times. Change-Id: Iaa5fd4f432549844ae319451cb43929a2d4b68ea CRs-Fixed: 2064805
This commit is contained in:
parent
357f43ef5f
commit
9383625dd6
3 changed files with 17 additions and 4 deletions
12
Kbuild
12
Kbuild
|
|
@ -46,6 +46,10 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||
# These are configurable via Kconfig for kernel-based builds
|
||||
# Need to explicitly configure for Android-based builds
|
||||
|
||||
ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP),y)
|
||||
CONFIG_BUILD_TIMESTAMP := y
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_MDM9630), y)
|
||||
CONFIG_MOBILE_ROUTER := y
|
||||
endif
|
||||
|
|
@ -2201,9 +2205,11 @@ ifdef WLAN_HDD_ADAPTER_MAGIC
|
|||
CDEFINES += -DWLAN_HDD_ADAPTER_MAGIC=$(WLAN_HDD_ADAPTER_MAGIC)
|
||||
endif
|
||||
|
||||
# inject some build related information
|
||||
ifeq ($(CONFIG_BUILD_TIMESTAMP), y)
|
||||
CDEFINES += -DBUILD_TIMESTAMP=\"$(shell date -u +'%Y-%m-%dT%H:%M:%SZ')\"
|
||||
endif
|
||||
|
||||
# Module information used by KBuild framework
|
||||
obj-$(CONFIG_QCA_CLD_WLAN) += $(MODNAME).o
|
||||
$(MODNAME)-y := $(OBJS)
|
||||
|
||||
# inject some build related information
|
||||
CDEFINES += -DBUILD_TIMESTAMP=\"$(shell date -u +'%Y-%m-%dT%H:%M:%SZ')\"
|
||||
|
|
|
|||
Loading…
Reference in a new issue