X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=tools%2Fsstrip%2FMakefile;h=e861a4bfeaa89a8125e2305c181d08ade8e6d2b3;hb=58a05c69742e22a2cb7829159410e1daf2dfd2ba;hp=4e409e0d8dc598d270a1d80de7971a44e6e919fc;hpb=f52d66ff00b24111f87c274d3d7085ef2e1d27b1;p=openwrt.git diff --git a/tools/sstrip/Makefile b/tools/sstrip/Makefile index 4e409e0d8d..e861a4bfea 100644 --- a/tools/sstrip/Makefile +++ b/tools/sstrip/Makefile @@ -7,12 +7,14 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/host-build.mk +PKG_NAME:=sstrip PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/sstrip 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