From 8126f4ed081b735399f395425827700d473a47ab Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 30 Oct 2019 10:25:16 -0700 Subject: [PATCH] ap51-flash: Update to 2019.0.1 Added some size optimizations. Signed-off-by: Rosen Penev --- utils/ap51-flash/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/utils/ap51-flash/Makefile b/utils/ap51-flash/Makefile index 6ba1903b6..860a8d24d 100644 --- a/utils/ap51-flash/Makefile +++ b/utils/ap51-flash/Makefile @@ -7,12 +7,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ap51-flash -PKG_VERSION:=2019.0 -PKG_RELEASE:=2 +PKG_VERSION:=2019.0.1 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/ap51-flash/ap51-flash/releases/download/v$(PKG_VERSION) -PKG_HASH:=e7992b2151721cc6f5db91f443ad7fc83cb5604c08cd11fca3e78ecd6b538e57 +PKG_HASH:=7146a22576a23bfe36673980bc3795a97417692eaddb2f90b527074a7d7e42d5 + PKG_MAINTAINER:=Russell Senior PKG_LICENSE:=GPL-3.0-or-later CC0-1.0 PKG_LICENSE_FILES:=LICENSES/GPL-3.0-or-later.txt LICENSES/CC0-1.0.txt @@ -31,6 +32,9 @@ MAKE_FLAGS += \ REVISION="$(PKG_VERSION)" \ ap51-flash +TARGET_CFLAGS += -flto +TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed + define Package/ap51-flash/install $(INSTALL_DIR) $(1)/etc/config $(1)/etc/init.d $(1)/usr/sbin \ $(1)/usr/lib/ap51-flash