[WCNCR00144638] regd: support configurable of single sku local database

[Description]
Add configurable option for single sku local database.

Feature: regd
Change-Id: I1145563bf7bb57367116062bff407f6301afe46b
Signed-off-by: Sarick Jiang <sarick.jiang@mediatek.com>
CR-Id: WCNCR00144638
diff --git a/Makefile.ce b/Makefile.ce
index df903c0..58c143c 100644
--- a/Makefile.ce
+++ b/Makefile.ce
@@ -38,7 +38,7 @@
 ifeq ($(PLATFORM),MT53XX)
 
 # Sets DRIVER_PARTIAL_BUILD to y to compile driver only, otherwise set to n
-DRIVER_PARTIAL_BUILD=n
+DRIVER_PARTIAL_BUILD := n
 # Set if 64 bit platform
 64BIT_MODE=true
 export WIFI_TARGET
@@ -117,6 +117,8 @@
 # eg. insmod wlan_mt76x8_usb.ko sta=wlan p2p=p2p ap=ap
 CFG_DRIVER_INF_NAME_CHANGE=n
 
+CFG_SUPPORT_SINGLE_SKU_LOCAL_DB=0
+
 #/***** Platform dependent part ******/
 ifeq ($(PLATFORM),MT53XX)
 endif
@@ -160,6 +162,10 @@
 PLATFORM_FLAGS += -DCFG_DRIVER_INF_NAME_CHANGE
 endif
 
+ifneq ($(CFG_SUPPORT_SINGLE_SKU_LOCAL_DB),)
+PLATFORM_FLAGS += -DCFG_SUPPORT_SINGLE_SKU_LOCAL_DB=$(CFG_SUPPORT_SINGLE_SKU_LOCAL_DB)
+endif
+
 ##############################################################
 # Compile settings
 ##############################################################
diff --git a/include/config.h b/include/config.h
index deff219..d7d44b7 100644
--- a/include/config.h
+++ b/include/config.h
@@ -921,7 +921,9 @@
  *------------------------------------------------------------------------------
  */
 #define CFG_SUPPORT_SINGLE_SKU	1
+#ifndef CFG_SUPPORT_SINGLE_SKU_LOCAL_DB
 #define CFG_SUPPORT_SINGLE_SKU_LOCAL_DB 1
+#endif
 
 /*******************************************************************************
 *                             D A T A   T Y P E S