2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
12 PKG_MD5SUM
:=4136d7b4c04df68b686570afa26988ac
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.mr511.de
/software
/
18 include $(INCLUDE_DIR
)/host-build.mk
20 HOST_CONFIGURE_ARGS
+= \
25 (cd
$(HOST_BUILD_DIR
)/$(3); \
26 $(HOST_CONFIGURE_CMD
) \
27 $(HOST_CONFIGURE_ARGS
); \
33 $(MAKE
) -C
$(HOST_BUILD_DIR
)/lib
/ libelf.a
37 $(INSTALL_DIR
) $(STAGING_DIR_HOST
)/{lib
,include/libelf
}
38 $(CP
) $(HOST_BUILD_DIR
)/lib
/{elf_repl.h
,gelf.h
,libelf.h
,nlist.h
,sys_elf.h
} \
39 $(STAGING_DIR_HOST
)/include/libelf
/
40 $(CP
) $(HOST_BUILD_DIR
)/lib
/libelf.a
$(STAGING_DIR_HOST
)/lib
/
44 rm -rf
$(STAGING_DIR_HOST
)/include/libelf
45 rm -f
$(STAGING_DIR_HOST
)/lib
/libelf.a
46 $(call Host
/Clean
/Default
)
49 $(eval
$(call HostBuild
))