Import buildroot 2016.02.01

This commit is contained in:
2016-02-24 22:35:39 +01:00
parent a6ee09dea4
commit 828befcf3c
7393 changed files with 390887 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_SSTRIP
bool "sstrip"
help
Small utility that removes a few bytes from an executable that
strip leaves behind.
http://www.muppetlabs.com/~breadbox/software/elfkickers.html

View File

@@ -0,0 +1,32 @@
################################################################################
#
# 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))