[PATCH v2] fff-macnock: clean up package variables

Adrian Schmutzler freifunk at adrianschmutzler.de
Mi Apr 22 20:03:00 CEST 2020

This removes unnecessary package variables and rearranges the
remaining ones based on the common style in OpenWrt trunk.

In particular, this drops PKG_VERSION in favor of PKG_SOURCE_DATE,
since it does not seem reasonable to tag a version every time we
want to pull it. Despite, while we effectively pull via the
variable PKG_SOURCE_VERSION anyway, the PKG_VERSION might even
have hidden changes if not properly adjusted.

This also adds the PKG_MIRROR_HASH commonly used for OpenWrt
packages. After having changed the PKG_SOURCE_VERSION, it can
be easily created by:

    make package/fff-macnock/download
    make package/fff-macnock/check V=s FIXUP=1

Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>


Not tested.

Changes in v2:
 src/packages/fff/fff-macnock/Makefile | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/packages/fff/fff-macnock/Makefile b/src/packages/fff/fff-macnock/Makefile
index 0e45b38a..7ed5c83e 100644
--- a/src/packages/fff/fff-macnock/Makefile
+++ b/src/packages/fff/fff-macnock/Makefile
@@ -1,15 +1,13 @@
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/cmake.mk

Mehr Informationen über die Mailingliste franken-dev