Commit Graph

5 Commits

Author SHA1 Message Date
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Sergey V. Lobanov 47c31b4746 bossa: fix build on macos
override OS=Linux Makefile variable to support building on macos

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-09 14:17:13 +01:00
Nick Hainke 7e2e38cab6 bossa: fix fpic compilation
Fixes: #17287 ("bossa: recompile with -fPIC")

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-12-12 08:09:36 +01:00
Alexander Couzens dccdfa62c1 bossa: add patch to fix flash failures on serial
bossa only waited 1ms for the serial device instead calling
tcdrain().
Without this patch bossa is failing to flash a ATSAM3S4 8/10 times.
Patch has been submitted as PR#150 upstream.
https://github.com/shumatech/BOSSA/pull/150

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2021-11-09 08:43:51 +01:00
Nick Hainke 5dd6c8ad46 bossa: add bossa
Based on the work of Hirokazu MORIKAWA (nxhack):
https://github.com/nxhack/openwrt-arduino-packages/tree/master/bossa

BOSSA is a flash programming utility for Atmel's SAM family of
flash-based ARM microcontrollers. The motivation behind BOSSA is to
create a simple, easy-to-use, open source utility to replace Atmel's
SAM-BA software.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-10-23 20:52:30 -10:00