tools: add expat library (to be used by gdb)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46297
This commit is contained in:
Felix Fietkau 2015-07-10 19:42:05 +00:00
parent 91c3ad77cf
commit ae706ea6b6
2 changed files with 26 additions and 1 deletions

View file

@ -23,7 +23,7 @@ ifneq ($(CONFIG_PACKAGE_kmod-b43)$(CONFIG_PACKAGE_kmod-b43legacy)$(CONFIG_BRCMSM
BUILD_B43_TOOLS = y BUILD_B43_TOOLS = y
endif endif
tools-$(BUILD_TOOLCHAIN) += gmp mpfr mpc libelf tools-$(BUILD_TOOLCHAIN) += gmp mpfr mpc libelf expat
tools-y += m4 libtool autoconf automake flex bison pkg-config sed mklibs tools-y += m4 libtool autoconf automake flex bison pkg-config sed mklibs
tools-y += sstrip make-ext4fs e2fsprogs mtd-utils mkimage tools-y += sstrip make-ext4fs e2fsprogs mtd-utils mkimage
tools-y += firmware-utils patch-image patch quilt yaffs2 flock padjffs2 tools-y += firmware-utils patch-image patch quilt yaffs2 flock padjffs2

25
tools/expat/Makefile Normal file
View file

@ -0,0 +1,25 @@
#
# Copyright (C) 2006-2014 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:=expat
PKG_VERSION:=2.1.0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=dd7dab7a5fea97d2a6a43f511449b7cd
PKG_SOURCE_URL:=@SF/expat
HOST_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk
define Host/Install
$(MAKE) -C $(HOST_BUILD_DIR) install
endef
$(eval $(call HostBuild))