X-Git-Url: http://git.openwrt.org/?p=feed%2Frouting.git;a=blobdiff_plain;f=alfred%2FMakefile;h=fb42a5c4cc1ba5aa333a63e85c47f893a49f32e1;hp=b5d37ceef6e291d940dfcdf17c91c52b81ccfe07;hb=68fbe6d74a19d16da3e2721184115d341b12acb1;hpb=89cdcd94a000075801a73ba7e5e4c231646c0168 diff --git a/alfred/Makefile b/alfred/Makefile index b5d37ce..fb42a5c 100644 --- a/alfred/Makefile +++ b/alfred/Makefile @@ -7,22 +7,18 @@ include $(TOPDIR)/rules.mk -# -# The latest alfred git hash in PKG_REV can be obtained from https://git.open-mesh.org/alfred.git -# PKG_NAME:=alfred -PKG_VERSION:=2016.5 +PKG_VERSION:=2019.5 PKG_RELEASE:=0 -PKG_MD5SUM:=e03d422ed3b5a162b90e8af13389523f +PKG_HASH:=8a7b6e4e1ae5826671beb683013c5ffa4a1af005bf179a42e541cf84de8fd726 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://downloads.open-mesh.org/batman/releases/batman-adv-$(PKG_VERSION) -PKG_LICENSE:=GPL-2.0 +PKG_LICENSE:=GPL-2.0-only MIT +PKG_LICENSE_FILES:=LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT include $(INCLUDE_DIR)/package.mk -init-y := alfred - define Package/alfred URL:=https://www.open-mesh.org/ SECTION:=net @@ -57,22 +53,17 @@ define Package/alfred/config source "$(SOURCE)/Config.in" endef -MAKE_ALFRED_FLAGS=\ +MAKE_FLAGS += \ CONFIG_ALFRED_VIS=$(if $(CONFIG_PACKAGE_ALFRED_VIS),y,n) \ CONFIG_ALFRED_GPSD=$(if $(CONFIG_PACKAGE_ALFRED_GPSD),y,n) \ CONFIG_ALFRED_CAPABILITIES=n \ LIBNL_NAME="libnl-tiny" \ - LIBNL_GENL_NAME="libnl-tiny" + LIBNL_GENL_NAME="libnl-tiny" \ + REVISION="openwrt-$(PKG_VERSION)-$(PKG_RELEASE)" TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto TARGET_LDFLAGS += -Wl,--gc-sections -fuse-linker-plugin -define Build/Compile - CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ - $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS) $(MAKE_ALFRED_FLAGS) all -endef - define Package/alfred/install $(INSTALL_DIR) $(1)/usr/sbin cp -fpR $(PKG_BUILD_DIR)/alfred $(1)/usr/sbin/