qca-ssdk: disable PTP and swconfig by default

PTP and swconfig support in SSDK require kernel modifications we dont need
nor we want to support for now, so move the PTP and swconfig disablement
into general build options as they are not ipq807x specific.

Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Robert Marko 2023-11-14 09:47:38 +01:00 committed by Christian Marangi
parent 853db7be95
commit 14aeb471f2
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -44,10 +44,11 @@ MAKE_FLAGS+= \
GCC_VERSION=$(GCC_VERSION) \ GCC_VERSION=$(GCC_VERSION) \
EXTRA_CFLAGS=-fno-stack-protector -I$(STAGING_DIR)/usr/include \ EXTRA_CFLAGS=-fno-stack-protector -I$(STAGING_DIR)/usr/include \
SoC=$(CONFIG_TARGET_SUBTARGET) \ SoC=$(CONFIG_TARGET_SUBTARGET) \
PTP_FEATURE=disable SWCONFIG_FEATURE=disable \
$(LNX_CONFIG_OPTS) $(LNX_CONFIG_OPTS)
ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq807x") ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq807x")
MAKE_FLAGS+= CHIP_TYPE=HPPE PTP_FEATURE=disable SWCONFIG_FEATURE=disable MAKE_FLAGS+= CHIP_TYPE=HPPE
endif endif
define Build/InstallDev define Build/InstallDev