X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=tools%2Fsstrip%2FMakefile;h=180bd1743e5d6402707504ba1dfddb126867af29;hb=HEAD;hp=076851f585ea83cfc1ac8dd7838a51bb974cf28c;hpb=974a50ca4aedb3dd6b9f4a34ac8ec2193d531be3;p=openwrt%2Fstaging%2Fhauke.git diff --git a/tools/sstrip/Makefile b/tools/sstrip/Makefile index 076851f585..55a7fa7446 100644 --- a/tools/sstrip/Makefile +++ b/tools/sstrip/Makefile @@ -7,15 +7,19 @@ include $(TOPDIR)/rules.mk PKG_NAME:=sstrip +PKG_VERSION:=3.2 -include $(INCLUDE_DIR)/host-build.mk +HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/ELFkickers-$(PKG_VERSION) +PKG_SOURCE_URL:=https://www.muppetlabs.com/~breadbox/pub/software +PKG_SOURCE:=ELFkickers-$(PKG_VERSION).tar.gz +PKG_HASH:=9b81e6c53e0c94fc198d9882eb737156f36d565152dc32118897c77b06a2687c -define Host/Compile - $(HOSTCC) $(HOST_CFLAGS) -I../include -include endian.h $(HOST_STATIC_LINKING) -o $(HOST_BUILD_DIR)/sstrip src/sstrip.c -endef +PKG_RELEASE:=1 + +include $(INCLUDE_DIR)/host-build.mk define Host/Install - $(CP) $(HOST_BUILD_DIR)/sstrip $(STAGING_DIR_HOST)/bin/ + $(CP) $(HOST_BUILD_DIR)/bin/sstrip $(STAGING_DIR_HOST)/bin/ endef define Host/Clean