Change in ...osmo-ccid-firmware[master]: Makefile: Allow user to override libosmocore install prefix

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Jun 13 16:18:31 UTC 2019


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 <laforge at gnumonks.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190613/2389c4a8/attachment.htm>


More information about the gerrit-log mailing list