From cb3ceffe1ce68c807ddc0c5d09456ceb13279b77 Mon Sep 17 00:00:00 2001
From: Claudio Scafuri <claudio.scafuri@elettra.eu>
Date: Wed, 30 Dec 2020 16:13:41 +0100
Subject: [PATCH] fix path for using internally built tools

---
 sysconfig.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sysconfig.mk b/sysconfig.mk
index 9677cd5..5168d63 100644
--- a/sysconfig.mk
+++ b/sysconfig.mk
@@ -26,6 +26,10 @@ NCLIBSHSYMLINK = libnc.$(SHSUFFIX)
 NCLIBSTAT = libnc.a
 LDFLAGS= -shared -Wl,-soname=$(SHSONAME)
 
+#add path ofr using internnally generated nc compiler
+PATH := $(BASEDIR)/bin:${PATH}
+export PATH
+
 #definitions for ARM-YOCTO
 # GCC = arm-flop-linux-gnueabi-gcc
 # CC = arm-flop-linux-gnueabi-gcc
-- 
GitLab