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:35:43 UTC 2019


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 <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190613/37e6fb1f/attachment.htm>


More information about the gerrit-log mailing list