openwrtv4/tools/sstrip/Makefile
Florian Fainelli f590b304ef Revert "[tools] sstrip: Correct include path to really get endian.h" (#8447)
This reverts commit ac0f793ae985db73caf99916336569c211a759f8.

SVN-Revision: 24516
2010-12-12 14:53:24 +00:00

25 lines
529 B
Makefile

#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=sstrip
include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
$(CC) $(HOST_CFLAGS) -I./include -include endian.h -o $(HOST_BUILD_DIR)/sstrip src/sstrip.c
endef
define Host/Install
$(CP) $(HOST_BUILD_DIR)/sstrip $(STAGING_DIR_HOST)/bin/
endef
define Host/Clean
rm -f $(STAGING_DIR_HOST)/bin/sstrip
endef
$(eval $(call HostBuild))