projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move out autotools touching stuff to a macro
[openwrt.git]
/
tools
/
sstrip
/
Makefile
diff --git
a/tools/sstrip/Makefile
b/tools/sstrip/Makefile
index
dc3ff4f
..
87f3312
100644
(file)
--- a/
tools/sstrip/Makefile
+++ b/
tools/sstrip/Makefile
@@
-10,9
+10,10
@@
include $(INCLUDE_DIR)/host-build.mk
PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/sstrip
OS:=$(shell uname)
PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/sstrip
OS:=$(shell uname)
-ifeq ($(OS),Darwin)
+ifeq ($(
HOST_
OS),Darwin)
CFLAGS += -I./include
endif
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
This page took
0.026306 seconds
and
4
git commands to generate.