osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/simtrace2/+/42768?usp=email )
Change subject: firmware: replace libnewlib with picolibc ......................................................................
firmware: replace libnewlib with picolibc
libnewlib-arm-none-eabi has been removed in debian unstable, build the firmware with picolibc instead.
Fixes: OS#7017 Change-Id: If136397b71435ea0850002ef6406067962e8d4d7 --- M debian/control M firmware/Makefile 2 files changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/68/42768/1
diff --git a/debian/control b/debian/control index 75826be..c0e5a6f 100644 --- a/debian/control +++ b/debian/control @@ -12,7 +12,7 @@ dh-autoreconf, libosmocore-dev (>= 1.11.0), libpcsclite-dev, - libnewlib-arm-none-eabi, + picolibc-arm-none-eabi, libusb-1.0-0-dev, gcc-arm-none-eabi Standards-Version: 3.9.8 diff --git a/firmware/Makefile b/firmware/Makefile index 2f7a370..13f6bd2 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -171,6 +171,7 @@ INCLUDES += -Ilibosmocore/include INCLUDES += -Isrc_simtrace -Iinclude INCLUDES += -Iapps/$(APP) +INCLUDES += -I/usr/lib/picolibc/arm-none-eabi/include
ifneq ("$(USE_CLANG)","0") CFLAGS += -Wno-unknown-warning-option -Wno-empty-body -fno-exceptions -fno-unwind-tables --config armv7em_soft_nofp_nosys