voicemngr: Move bcm-toolchain.mk include

Move bcm-toolchain.mk to further to the top so that the appending to
TARGET_CFLAGS with -Wall -Werror in this file is done properly and not
overridden.

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
This commit is contained in:
Andreas Gnau 2024-04-24 16:07:44 +02:00
parent dcdf4e82e5
commit 6cfb68796e
No known key found for this signature in database

View file

@ -29,6 +29,7 @@ endif
PKG_CONFIG_DEPENDS:=CONFIG_TARGET_BOARD
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/package/feeds/broadcom/bcmkernel/bcm-toolchain.mk
TARGET_CFLAGS += -Wall -Werror
@ -45,12 +46,6 @@ define Package/$(PKG_NAME)
+TARGET_brcmbca:bcmkernel +TARGET_brcmbca:libvoice-broadcom \
+TARGET_ipq95xx:libvoice-d2 +TARGET_ipq95xx:kmod-d2-voice \
+TARGET_airoha:kmod-voip_driver +TARGET_airoha:voip_app +TARGET_airoha:libvoice-airoha
ifeq ($(CONFIG_TARGET_brcmbca),y)
include $(TOPDIR)/feeds/broadcom/bcmkernel/bcm-toolchain.mk
endif
endef
define Package/$(PKG_NAME)/description