kumquat-buildroot/package/sstrip/sstrip.mk
Thomas De Schampheleire de5a08f5b5 sstrip: remove unneed explicit ccache dependency
This ccache dependency was here to enforce the build order.
It is not needed anymore.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-08-10 21:19:50 +02:00

41 lines
1.0 KiB
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 SSTRIP_UNINSTALL_TARGET_CMDS
rm -f $(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
define HOST_SSTRIP_UNINSTALL_CMDS
rm -f $(HOST_DIR)/usr/bin/$(HOST_SSTRIP_BINARY)
endef
$(eval $(generic-package))
$(eval $(host-generic-package))