From df5975746f91ad3062052994bc459f49bf9ef823 Mon Sep 17 00:00:00 2001
From: Ronny Nilsson <ronny.nilsson@iopsys.eu>
Date: Thu, 17 Oct 2019 12:17:52 +0200
Subject: [PATCH] Make a search path portable and build system friendly.

---
 brcm_fw_tool/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/brcm_fw_tool/Makefile b/brcm_fw_tool/Makefile
index 1f90107..1b26803 100644
--- a/brcm_fw_tool/Makefile
+++ b/brcm_fw_tool/Makefile
@@ -16,9 +16,7 @@ CFLAGS += -I$(STAGING_DIR)/usr/include
 CFLAGS += -I$(STAGING_DIR)/usr/include/bcm963xx/shared/opensource/include/bcm963xx
 CFLAGS += -I$(STAGING_DIR)/usr/include/bcm963xx/bcmdrivers/opensource/include/bcm963xx
 CFLAGS += -L$(STAGING_DIR)/usr/lib/
-
-# This should also change!!
-CFLAGS += -L$(BUILD_DIR)/bcmkernel/bcm963xx/targets/963138GWV/fs/lib
+CFLAGS += -L$(STAGING_DIR_ROOT)/usr/lib
 
 LIBS += -lbcm_flashutil -lbcm_boardctl -lbcm_util -lsys_util -lgen_util -lubi
 
-- 
GitLab