fixeria has uploaded this change for review.

View Change

contrib/jenkins.sh: clean up CFLAGS

Take a chance to remove laf0rge's custom -Include path.

Change-Id: I4e78d6eb3c6c7b40312072fcf70f4b6d80042959
---
M contrib/jenkins.sh
1 file changed, 6 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/08/41908/1
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index cf371e5..58b85c8 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -39,6 +39,10 @@
osmo-deps.sh libosmocore master
cd libosmocore

+CFLAGS="-Os -g3 -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs"
+CFLAGS="$CFLAGS -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -mthumb -mlong-calls"
+CFLAGS="$CFLAGS -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error=cpp -Wno-error=format"
+
mkdir -p "$inst/stow"
autoreconf --install --force
./configure \
@@ -49,8 +53,8 @@
--enable-embedded \
--disable-pseudotalloc \
--disable-doxygen \
- CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error=cpp -mthumb -Os -mlong-calls -g3 -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -I /home/laforge/projects/git/osmo-ccid-firmware/sysmoOCTSIM -Wno-error=format" \
- CPPFLAGS="-D__thread=''"
+ CFLAGS=$CFLAGS \
+ CPPFLAGS="-D__thread=''"
make $PARALLEL_MAKE install
make clean
STOW_DIR="$inst/stow" stow --restow libosmocore

To view, visit change 41908. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I4e78d6eb3c6c7b40312072fcf70f4b6d80042959
Gerrit-Change-Number: 41908
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>