laforge has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/14443 )

Change subject: Makefile: Allow user to override libosmocore install prefix
......................................................................

Makefile: Allow user to override libosmocore install prefix

We should probably use PKG_CONFIG to do this in the next step..

Change-Id: Ie1eda223da3e22b6b1eea73cfcca499cf3ba7940
---
M sysmoOCTSIM/gcc/Makefile
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  laforge: Looks good to me, approved; Verified



diff --git a/sysmoOCTSIM/gcc/Makefile b/sysmoOCTSIM/gcc/Makefile
index 01088cc..282a146 100644
--- a/sysmoOCTSIM/gcc/Makefile
+++ b/sysmoOCTSIM/gcc/Makefile
@@ -2,8 +2,9 @@
 # Manually edited. Do not overwrite with Automatically-generated file.
 
################################################################################

-EXTRA_LIBS=/usr/local/arm-none-eabi/lib/libosmocore.a
-EXTRA_CFLAGS=-I/usr/local/arm-none-eabi/include -I../../ccid
+SYSTEM_PREFIX:=/usr/local/arm-none-eabi
+EXTRA_LIBS=$(SYSTEM_PREFIX)/lib/libosmocore.a
+EXTRA_CFLAGS=-I$(SYSTEM_PREFIX)/include -I../../ccid
 CROSS_COMPILE= arm-none-eabi-

 CFLAGS_CPU=-D__SAME54N19A__ -mcpu=cortex-m4 -mfloat-abi=softfp 
-mfpu=fpv4-sp-d16

--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/14443
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: Ie1eda223da3e22b6b1eea73cfcca499cf3ba7940
Gerrit-Change-Number: 14443
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <lafo...@gnumonks.org>
Gerrit-MessageType: merged

Reply via email to