aboutsummaryrefslogtreecommitdiff
path: root/utils/ap51-flash
Commit message (Collapse)AuthorAge
* treewide: remove AUTORELEASEPaul Fertser2023-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* treewide: refactor to use PKG_BUILD_FLAGS:=ltoAndre Heider2023-04-08
| | | | | | | | | | See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS" on the main repository. Note: Some packages only added `-flto` to CFLAGS and not LDFLAGS. This fixes it and properly enables LTO. Signed-off-by: Andre Heider <a.heider@gmail.com>
* ap51-flash: update to version 2022.0Sven Eckelmann2022-03-28
| | | | | | | | | | | | | | | | * Improve listing of ethernet devices under Linux * Add support for modern Npcap DLLs * Fix embedding of images with modern GCC versions * coding style cleanups and refactoring * added support for: - Datto AP440 - Datto AP840 - Datto AP840E - Datto TW420 - Plasma Cloud PAX1800 Signed-off-by: Sven Eckelmann <sven@narfation.org>
* ap51-flash: use $(AUTORELEASE) for PKG_RELEASESven Eckelmann2022-03-28
| | | | | | | Use `$(AUTORELEASE)` variable rather than setting a PKG_RELEASE on every commit manually. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* ap51-flash: run through shellcheckRosen Penev2020-07-10
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ap51-flash: Update to 2019.0.1Rosen Penev2019-10-30
| | | | | | Added some size optimizations. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* treewide: Change .*GPL.*+ licenses to SPDX compatible identifierSven Eckelmann2019-09-10
| | | | | | | | The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL licenses. But a lot of packages did use a different, non-SPDX style with a "+" at the end instead of "-or-later". Signed-off-by: Sven Eckelmann <sven@narfation.org>
* ap51-flash: upgrade package to latest release 2019.0Sven Eckelmann2019-09-01
| | | | | | | | | | | | * improved Zyxel firmware detection * introduced optional MAC address filtering * added support for: - Plasma Cloud PA300 - Plasma Cloud PA1200 - Plasma Cloud PA2200 Signed-off-by: Sven Eckelmann <sven@narfation.org>
* ap51-flash: Update to 2018.0 and switch to tarballRosen Penev2018-07-16
| | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ap51-flash: Fix source repository URLSven Eckelmann2017-12-15
| | | | | | | | The URL git://dev.cloudtrax.com/ap51-flash.git is not the actual public source repository URL for ap51-flash. It is not even accessible in the moment. The official repository can now be found at github. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* ap51-flash: Provide PKG_LICENSE* informationSven Eckelmann2017-12-07
| | | | Signed-off-by: Sven Eckelmann <sven@narfation.org>
* ap51-flash: Update to version 2017-12-07Sven Eckelmann2017-12-07
| | | | | | | | | | | | | * Added support for new OpenMesh devices: - A42 - A62 - G200 - D200 - P60 * Fix size calculation for combined ext images * Fixed build with musl Signed-off-by: Sven Eckelmann <sven@narfation.org>
* ap51-flash: Remove FLASH_FROM_FILE preprocessor variableSven Eckelmann2017-12-07
| | | | | | | ap51-flash doesn't know the FLASH_FROM_FILE preprocessor variable and thus OpenWrt should not set it in its package Makefile. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* ap51-flash: Remove NO_LIBPCAP preprocessor variableSven Eckelmann2017-12-07
| | | | | | | ap51-flash doesn't know the NO_LIBPCAP preprocessor variable and thus OpenWrt should not set it in its package Makefile. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* ap51-flash: Remove OFLAGS from MAKE_FLAGSSven Eckelmann2017-12-07
| | | | | | | Nothing in ap51-flash is using the variable OFLAGS. It should therefore not be set. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* ap51-flash: Remove uIP workaroundsSven Eckelmann2017-12-07
| | | | | | | ap51-flash is no longer using uIP and thus these workarounds should no longer be used. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* treewide: run "make check FIXUP=1"Etienne Champetier2017-08-29
| | | | | | | | | | fix Makefile chmod (644) replace MD5SUM with HASH add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git (PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now) Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
* ap51-flash: Define IPPORT_TFTP where it is usedFlorian Fainelli2017-04-12
| | | | | | | | | | | | | | | | | | | | Defining IPPORT_TFTP on the pre-processor command line leads to the following error for glibc-based toolchains: mipsel-linux-gnu-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -mips16 -minterlink-mips16 -I/local/users/fainelli/openwrt/trunk/staging_dir/target-mipsel-linux-gnu_glibc/usr/include -I/local/users/fainelli/openwrt/trunk/staging_dir/target-mipsel-linux-gnu_glibc/include -I/opt/toolchains/stbgcc-4.8-1.5/usr/include -I/opt/toolchains/stbgcc-4.8-1.5/include -Wall -Werror -W -g3 -std=gnu99 -Os -fno-strict-aliasing -DLINUX -DREVISION_VERSION=\"2016-10-16\" -DFLASH_FROM_FILE -DNO_LIBPCAP -D_GNU_SOURCE -UIPPORT_TFTP -DIPPORT_TFTP=69 -MD -c flash.c -o flash.o <command-line>:0:13: error: expected identifier before numeric constant Instead, move this where this gets used, in proto.c Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* utils/ap51-flash: import from old-packages and updateRussell Senior2016-10-17
Signed-off-by: Russell Senior <russell@personaltelco.net>