X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9045e25a9b5281a9cfe1e55b274e35449925cbbe..303457f5479ff2a1568426e6b9b1b5cefdba89bd:/tools/sstrip/Makefile 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