1 ################################################################################
5 ################################################################################
7 SSTRIP_SITE
= svn
://svn.openwrt.org
/openwrt
/trunk
/tools
/sstrip
9 HOST_SSTRIP_BINARY
= $(GNU_TARGET_NAME
)-sstrip
11 define SSTRIP_BUILD_CMDS
13 $(TARGET_CC
) $(TARGET_CFLAGS
) -include endian.h
-include byteswap.h \
14 -o sstrip src
/sstrip.c
17 define SSTRIP_INSTALL_TARGET_CMDS
18 $(INSTALL
) -D
$(@D
)/sstrip
$(TARGET_DIR
)/usr
/bin
/sstrip
21 define HOST_SSTRIP_BUILD_CMDS
23 $(HOSTCC
) $(HOST_CFLAGS
) -include endian.h
-include byteswap.h \
24 -o sstrip src
/sstrip.c
27 define HOST_SSTRIP_INSTALL_CMDS
28 $(INSTALL
) -D
$(@D
)/sstrip
$(HOST_DIR
)/usr
/bin
/$(HOST_SSTRIP_BINARY
)
31 $(eval
$(generic-package
))
32 $(eval
$(host-generic-package
))