2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
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
16 HOST_BUILD_DIR
:=$(BUILD_DIR_HOST
)/mklibs
18 include $(INCLUDE_DIR
)/host-build.mk
20 HOST_CFLAGS
+= -I
$(CURDIR
)/include
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
/
31 rm -f
$(STAGING_DIR_HOST
)/bin
/mklibs
*
34 $(eval
$(call HostBuild
))