X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=Makefile;h=29b1bc098268dc82a628b212053bc4fee38ebf72;hb=873697c83cf2d0dc7c80d9f3f21f6f5bc26b73e0;hp=967fceddb3a40737ca954f94b44045a0a83f3bda;hpb=063b8f7199fa25130519dd87f1a5853905cc9b6b;p=lede-routing%2F.git diff --git a/Makefile b/Makefile index 967fced..29b1bc0 100644 --- a/Makefile +++ b/Makefile @@ -8,15 +8,16 @@ include $(TOPDIR)/rules.mk -PKG_NAME:=batman-III -PKG_VERSION:=0.2.0a +PKG_NAME:=batmand +PKG_VERSION:=0.2-rv478 PKG_RELEASE:=1 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tbz2 -PKG_SOURCE_URL:=http://downloads.open-mesh.net/batman -PKG_MD5SUM:=d5ac8329633590ed072a6b7ecccacf0b -PKG_CAT:=bzcat +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION)_sources +PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION)_sources.tgz +PKG_SOURCE_URL:=http://downloads.open-mesh.net/batman/stable/sources/ \ + http://downloads.open-mesh.net/batman/stable/sources/ +PKG_MD5SUM:=b00ad9603e32c85224d5b19f99126ddf +PKG_CAT:=zcat PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install @@ -33,18 +34,15 @@ endef define Build/Configure endef -define Build/Compile - rm -rf $(PKG_INSTALL_DIR) - mkdir -p $(PKG_INSTALL_DIR) - $(MAKE) -C "$(PKG_BUILD_DIR)" \ - $(TARGET_CONFIGURE_OPTS) \ - NODEBUG=1 \ - OFLAGS="$(TARGET_CFLAGS)" \ - UNAME="Linux" \ - INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \ - STRIP="/bin/true" \ - batmand install -endef +MAKE_FLAGS += \ + CFLAGS="$(TARGET_CFLAGS)" \ + CCFLAGS="$(TARGET_CFLAGS)" \ + OFLAGS="$(TARGET_CFLAGS)" \ + NODEBUG=1 \ + UNAME="Linux" \ + INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \ + STRIP="/bin/true" \ + batmand install define Package/batman/install $(INSTALL_DIR) $(1)/usr/sbin