8f538ec07c
Because the svn repository url was changed the command "make sstrip-source" gives this error: svn: E000101: Unable to connect to a repository at URL 'svn://dev.openwrt.org/openwrt/trunk/tools/sstrip' svn: E000101: Can't connect to host 'dev.openwrt.org': Network is unreachable To fix this error use the correct url "svn://svn.openwrt.org/openwrt". Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
33 lines
860 B
Makefile
33 lines
860 B
Makefile
################################################################################
|
|
#
|
|
# sstrip
|
|
#
|
|
################################################################################
|
|
|
|
SSTRIP_SITE = svn://svn.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))
|