add an optional config option for stripping all unnecessary symbol exports from the...
[openwrt.git] / tools / sstrip / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=sstrip
10
11 include $(INCLUDE_DIR)/host-build.mk
12
13 define Host/Compile
14 $(CC) $(HOST_CFLAGS) -I./include -include endian.h -o $(HOST_BUILD_DIR)/sstrip src/sstrip.c
15 endef
16
17 define Host/Install
18 $(CP) $(HOST_BUILD_DIR)/sstrip $(STAGING_DIR_HOST)/bin/
19 endef
20
21 define Host/Clean
22 rm -f $(STAGING_DIR_HOST)/bin/sstrip
23 endef
24
25 $(eval $(call HostBuild))
This page took 0.041106 seconds and 5 git commands to generate.