[package] base-files, busybox: fix 22279, simplify code and get rid of awk
[openwrt.git] / tools / mklibs / Makefile
1 #
2 # Copyright (C) 2009 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:=mklibs
10 PKG_VERSION:=0.1.29
11
12 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/m/mklibs/
14 PKG_MD5SUM:=7f35dfdbde249a090199829c1a1222d8
15
16 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/mklibs
17
18 include $(INCLUDE_DIR)/host-build.mk
19
20 HOST_CFLAGS += -I$(CURDIR)/include
21
22 define Host/Install
23 $(INSTALL_BIN) \
24 $(HOST_BUILD_DIR)/src/mklibs.py \
25 $(HOST_BUILD_DIR)/src/mklibs-copy.py \
26 $(HOST_BUILD_DIR)/src/mklibs-readelf/mklibs-readelf \
27 $(STAGING_DIR_HOST)/bin/
28 endef
29
30 define Host/Clean
31 rm -f $(STAGING_DIR_HOST)/bin/mklibs*
32 endef
33
34 $(eval $(call HostBuild))
This page took 0.045487 seconds and 5 git commands to generate.