From 9298fbeb330c217da421e2e042024a42addfb5a2 Mon Sep 17 00:00:00 2001 From: Markus Gothe Date: Sun, 23 Apr 2023 17:04:48 +0200 Subject: [PATCH] libqos/libethernet: Use DEPENDS instead of PKG_BUILD_DEPENDS. Due to syntax differences the latter doesn't really solve the dependency when we use our build-script. Instead use the same approach as the libwifi package. Change-Id: If37b70141b541cca03474251904863a17e07ff45 --- libethernet/Makefile | 3 +-- libqos/Makefile | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libethernet/Makefile b/libethernet/Makefile index 8449f86e5..9bfb1f55c 100644 --- a/libethernet/Makefile +++ b/libethernet/Makefile @@ -19,7 +19,6 @@ endif PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_LICENSE:=LGPL-2.1-only PKG_LICENSE_FILES:=LICENSE -PKG_BUILD_DEPENDS:=+TARGET_brcmbca:bcmkernel include $(INCLUDE_DIR)/package.mk @@ -69,7 +68,7 @@ define Package/libethernet SUBMENU:=IOPSYS HAL libs MENU:=1 TITLE:= Ethernet library (libethernet) - DEPENDS+=+libnl +libnl-route +libeasy +TARGET_airoha:ecnt_api + DEPENDS+=+libnl +libnl-route +libeasy +TARGET_airoha:ecnt_api +TARGET_brcmbca:bcmkernel endef define Package/libethernet/description diff --git a/libqos/Makefile b/libqos/Makefile index e52cfd3ce..d81adcb2e 100644 --- a/libqos/Makefile +++ b/libqos/Makefile @@ -19,7 +19,6 @@ endif PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_LICENSE:=LGPL-2.1-only PKG_LICENSE_FILES:=LICENSE -PKG_BUILD_DEPENDS:=+TARGET_brcmbca:bcmkernel include $(INCLUDE_DIR)/package.mk @@ -68,7 +67,7 @@ define Package/libqos SUBMENU:=IOPSYS HAL libs MENU:=1 TITLE:= QoS library (libqos) - DEPENDS+=+libnl +libnl-route +libeasy + DEPENDS+=+libnl +libnl-route +libeasy +TARGET_brcmbca:bcmkernel endef define Package/libqos/config