OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | # |
2 | # Copyright (C) 2006-2013 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:=sed |
||
10 | PKG_VERSION:=4.7 |
||
11 | |||
12 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
||
13 | PKG_SOURCE_URL:=@GNU/$(PKG_NAME) |
||
14 | PKG_HASH:=2885768cd0a29ff8d58a6280a270ff161f6a3deb5690b2be6c49f46d4c67bd6a |
||
15 | export SED:= |
||
16 | |||
17 | HOST_BUILD_PARALLEL:=1 |
||
18 | |||
19 | HOSTCC := $(HOSTCC_NOCACHE) |
||
20 | HOSTCXX := $(HOSTCXX_NOCACHE) |
||
21 | |||
22 | include $(INCLUDE_DIR)/host-build.mk |
||
23 | |||
24 | HOST_CONFIGURE_ARGS += \ |
||
25 | --disable-acl \ |
||
26 | --disable-nls \ |
||
27 | --enable-threads=pth |
||
28 | |||
29 | HOST_CONFIGURE_VARS += \ |
||
30 | ac_cv_search_setfilecon=no \ |
||
31 | ac_cv_header_selinux_context_h=no \ |
||
32 | ac_cv_header_selinux_selinux_h=no \ |
||
33 | |||
34 | define Host/Compile |
||
35 | +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" |
||
36 | endef |
||
37 | |||
38 | define Host/Install |
||
39 | $(INSTALL_BIN) $(HOST_BUILD_DIR)/sed/sed $(STAGING_DIR_HOST)/bin/ |
||
40 | endef |
||
41 | |||
42 | define Host/Clean |
||
43 | rm -f $(STAGING_DIR_HOST)/bin/sed |
||
44 | endef |
||
45 | |||
46 | $(eval $(call HostBuild)) |