upgrade the ixp4xx ethernet driver to v0.3.1, split the Gateway 7001 support to two...
[openwrt.git] / tools / sstrip / Makefile
index dc3ff4f..e861a4b 100644 (file)
@@ -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
This page took 0.021771 seconds and 4 git commands to generate.