ipacm: Enable Lan2Lan Bridge feature for Hana55 and Kona55 target
Currently Lan2Lan Bridge feature is enable for all MSM target.
Enable this featute onlt for Hana55 and Kona 55 target.
Change-Id: Ibc5894bda9ec4a5c6de1011dd8cbcac4130ce728
diff --git a/ipacm/src/Android.mk b/ipacm/src/Android.mk
index 00c0350..41e93f3 100644
--- a/ipacm/src/Android.mk
+++ b/ipacm/src/Android.mk
@@ -13,6 +13,8 @@
BOARD_IPAv3_LIST += lito
BOARD_IPAv3_LIST += atoll
BOARD_IPAv3_LIST += bengal
+BOARD_ETH_BRIDGE_LIST := msmnile
+BOARD_ETH_BRIDGE_LIST += kona
ifneq ($(call is-board-platform-in-list,$(BOARD_PLATFORM_LIST)),true)
ifneq (,$(filter $(QCOM_BOARD_PLATFORMS),$(TARGET_BOARD_PLATFORM)))
@@ -31,7 +33,10 @@
LOCAL_CFLAGS := -v
LOCAL_CFLAGS += -DFEATURE_IPA_ANDROID
LOCAL_CFLAGS += -DFEATURE_IPACM_RESTART
+
+ifeq ($(call is-board-platform-in-list,$(BOARD_ETH_BRIDGE_LIST)),true)
LOCAL_CFLAGS += -DFEATURE_ETH_BRIDGE_LE
+endif
LOCAL_CFLAGS += -DFEATURE_IPACM_HAL -Wall -Werror -Wno-error=macro-redefined
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))