projects
/
openwrt
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add squashfs support for atheros-2.6
[openwrt/.git]
/
tools
/
sstrip
/
Makefile
diff --git
a/tools/sstrip/Makefile
b/tools/sstrip/Makefile
index 4e409e0d8dc598d270a1d80de7971a44e6e919fc..e861a4bfeaa89a8125e2305c181d08ade8e6d2b3 100644
(file)
--- a/
tools/sstrip/Makefile
+++ b/
tools/sstrip/Makefile
@@
-7,12
+7,14
@@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/host-build.mk
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
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
define Build/Compile
$(CC) $(CFLAGS) -o $(PKG_BUILD_DIR)/sstrip src/sstrip.c