X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=alfred%2FMakefile;h=c13550868dba55ea064b079316ac599b38514fd5;hb=cf802f86073e0055c8b2d01faa271d6f7dfe4f1f;hp=09f62d4dda9cd2c43fd62e2e8bd74e22978d4021;hpb=a352511c6fb89d21aabe041785dc542170512586;p=feed%2Frouting.git diff --git a/alfred/Makefile b/alfred/Makefile index 09f62d4..c135508 100644 --- a/alfred/Makefile +++ b/alfred/Makefile @@ -7,13 +7,10 @@ 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.4 -PKG_RELEASE:=0 -PKG_MD5SUM:=172501ca734ac584fa13f10dcfa708da +PKG_VERSION:=2019.3 +PKG_RELEASE:=2 +PKG_HASH:=a4c37920de497701680abb55c49cdcd11e4e7135e0e7e79259c35492a3df4766 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://downloads.open-mesh.org/batman/releases/batman-adv-$(PKG_VERSION) @@ -21,8 +18,6 @@ PKG_LICENSE:=GPL-2.0 include $(INCLUDE_DIR)/package.mk -init-y := alfred - define Package/alfred URL:=https://www.open-mesh.org/ SECTION:=net @@ -57,22 +52,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/