sstrip.mk 530 B

1234567891011121314151617181920
  1. ################################################################################
  2. #
  3. # sstrip
  4. #
  5. ################################################################################
  6. SSTRIP_SITE = svn://svn.openwrt.org/openwrt/trunk/tools/sstrip
  7. SSTRIP_VERSION = 20154
  8. define SSTRIP_BUILD_CMDS
  9. cd $(@D) ; \
  10. $(TARGET_CC) $(TARGET_CFLAGS) -include endian.h -include byteswap.h \
  11. -o sstrip src/sstrip.c
  12. endef
  13. define SSTRIP_INSTALL_TARGET_CMDS
  14. $(INSTALL) -D $(@D)/sstrip $(TARGET_DIR)/usr/bin/sstrip
  15. endef
  16. $(eval $(generic-package))