X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=tools%2Fsstrip%2FMakefile;h=f978eae2647f333f5df9d3e10fc27a30300d6eca;hb=442a48289daa57f0d8d8afda51683c15d3624989;hp=4e409e0d8dc598d270a1d80de7971a44e6e919fc;hpb=9045e25a9b5281a9cfe1e55b274e35449925cbbe;p=openwrt-10.03%2F.git diff --git a/tools/sstrip/Makefile b/tools/sstrip/Makefile index 4e409e0d8..f978eae26 100644 --- a/tools/sstrip/Makefile +++ b/tools/sstrip/Makefile @@ -5,14 +5,17 @@ # See /LICENSE for more information. # include $(TOPDIR)/rules.mk -include $(INCLUDE_DIR)/host-build.mk +PKG_NAME:=sstrip PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/sstrip +include $(INCLUDE_DIR)/host-build.mk + OS:=$(shell uname) ifeq ($(HOST_OS),Darwin) CFLAGS += -I./include endif +CFLAGS += -I $(TOPDIR)/tools/include -include endian.h define Build/Compile $(CC) $(CFLAGS) -o $(PKG_BUILD_DIR)/sstrip src/sstrip.c