X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/44af1866aa41cfbbad48583106cb82201ded4fcb..aadd1adef0a9576ecd676db6c96c86d76d545a4f:/tools/sstrip/Makefile?ds=sidebyside diff --git a/tools/sstrip/Makefile b/tools/sstrip/Makefile index dc3ff4f6d..e861a4bfe 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 ($(OS),Darwin) +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