2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-12-28 20:10:26 +01:00
|
|
|
#
|
|
|
|
# sstrip
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-12-28 20:10:26 +01:00
|
|
|
|
|
|
|
SSTRIP_SITE = svn://dev.openwrt.org/openwrt/trunk/tools/sstrip
|
|
|
|
SSTRIP_VERSION = 20154
|
2012-06-08 03:52:16 +02:00
|
|
|
HOST_SSTRIP_BINARY = $(GNU_TARGET_NAME)-sstrip
|
2010-12-28 20:10:26 +01:00
|
|
|
|
|
|
|
define SSTRIP_BUILD_CMDS
|
|
|
|
cd $(@D) ; \
|
|
|
|
$(TARGET_CC) $(TARGET_CFLAGS) -include endian.h -include byteswap.h \
|
|
|
|
-o sstrip src/sstrip.c
|
|
|
|
endef
|
|
|
|
|
|
|
|
define SSTRIP_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D $(@D)/sstrip $(TARGET_DIR)/usr/bin/sstrip
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_SSTRIP_BUILD_CMDS
|
|
|
|
cd $(@D) ; \
|
|
|
|
$(HOSTCC) $(HOST_CFLAGS) -include endian.h -include byteswap.h \
|
|
|
|
-o sstrip src/sstrip.c
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_SSTRIP_INSTALL_CMDS
|
|
|
|
$(INSTALL) -D $(@D)/sstrip $(HOST_DIR)/usr/bin/$(HOST_SSTRIP_BINARY)
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-generic-package))
|