2 # Copyright (C) 2006-2013 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.bz2
13 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
14 PKG_HASH:=f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7
18 HOST_BUILD_PARALLEL:=1
20 include $(INCLUDE_DIR)/host-build.mk
22 HOST_CONFIGURE_ARGS += \
26 HOST_CONFIGURE_VARS += \
27 ac_cv_search_setfilecon=no \
28 ac_cv_header_selinux_context_h=no \
29 ac_cv_header_selinux_selinux_h=no \
32 +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) SHELL="$(BASH)"
36 $(INSTALL_BIN) $(HOST_BUILD_DIR)/sed/sed $(STAGING_DIR_HOST)/bin/
40 rm -f $(STAGING_DIR_HOST)/bin/sed
43 $(eval $(call HostBuild))