From 3e8f59a75c0439e82cadc761f44699c9588685db Mon Sep 17 00:00:00 2001 From: Andreas Gnau Date: Tue, 18 Apr 2023 10:37:59 +0200 Subject: [PATCH] libethernet: Build-depend on bcmkernel libethernet requires headers from Broadcom when built for the Broadcom target. Add build-time dependency when being built for Broadcom. This fixes a race-condition where the build would fail if bcmkernel build did not finish before the libethernet build. Signed-off-by: Andreas Gnau --- libethernet/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/libethernet/Makefile b/libethernet/Makefile index cfab7440a..6f220bd08 100644 --- a/libethernet/Makefile +++ b/libethernet/Makefile @@ -20,6 +20,7 @@ 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