laforge has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware 
refs/changes/43/14443/1

diff --git a/sysmoOCTSIM/gcc/Makefile b/sysmoOCTSIM/gcc/Makefile
index 97c5ec1..d082bcb 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: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-MessageType: newchange

Reply via email to