mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-13 23:33:32 +08:00
eb7bd9ef61
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
33 lines
860 B
Makefile
33 lines
860 B
Makefile
################################################################################
|
|
#
|
|
# sstrip
|
|
#
|
|
################################################################################
|
|
|
|
SSTRIP_SITE = svn://dev.openwrt.org/openwrt/trunk/tools/sstrip
|
|
SSTRIP_VERSION = 20154
|
|
HOST_SSTRIP_BINARY = $(GNU_TARGET_NAME)-sstrip
|
|
|
|
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
|
|
|
|
$(eval $(generic-package))
|
|
$(eval $(host-generic-package))
|