fixeria has uploaded this change for review.

View Change

contrib/jenkins.sh: clean up embedded build flags

--enable-embedded implies the following flags:

* --disable-log-macros
* --disable-libsctp
* --disable-libusb
* --disable-gb
* --disable-libmnl
* --disable-syslog-logging

so they can be safely removed.

--enable-external-tests makes no sense for an embedded build.

Change-Id: I4b54ecc5b023c7f4e1788814960e179c3818dbda
Related: libosmocore.git I164eb461fb59c7675393219102740f40c1119fdd
---
M contrib/jenkins.sh
1 file changed, 8 insertions(+), 4 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/07/41907/1
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index c355dd3..cf371e5 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -41,10 +41,14 @@

mkdir -p "$inst/stow"
autoreconf --install --force
-./configure --enable-static --prefix="$inst/stow/libosmocore" --host=arm-none-eabi \
- --enable-embedded --disable-log-macros --disable-doxygen --disable-shared --disable-pseudotalloc \
- --disable-libsctp --disable-libusb --disable-gb --enable-external-tests \
- --disable-libmnl --disable-syslog-logging \
+./configure \
+ --prefix="$inst/stow/libosmocore" \
+ --host=arm-none-eabi \
+ --enable-static \
+ --disable-shared \
+ --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=''"
make $PARALLEL_MAKE install

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

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