source: freewrt/package/iproute2/Makefile@ b917538

freewrt_1_0 freewrt_2_0
Last change on this file since b917538 was b917538, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago
  • sync with changes in trunk
  • lzo2 instead of lzo
  • fix tinc/vtun build
  • security update for openssh/openssl
  • update for iproute2,openvpn,openntpd, iptables and ipp, openswan
  • disable ipv6 in busybox, autoselect this feature for all ipv6 related packages
  • add better startup scripts for openssh and openntpd

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@800 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.6 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= iproute2
10PKG_VERSION:= 2.6.16-060323
11PKG_RELEASE:= 1
12PKG_MD5SUM:= f31d4516b35bbfeaa72c762f5959e97c
13
14PKG_SOURCE_URL:= http://developer.osdl.org/dev/iproute2/download/
15
16include $(TOPDIR)/mk/package.mk
17
18$(eval $(call PKG_template,IP,ip,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19$(eval $(call PKG_template,TC,tc,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21$(WRKBUILD)/.configured:
22 $(SED) "s:-O2:${TARGET_CFLAGS}:g" $(WRKBUILD)/Makefile
23 $(SED) "s,-I/usr/include/db3,," $(WRKBUILD)/Makefile
24 $(SED) "s,^KERNEL_INCLUDE.*,KERNEL_INCLUDE=$(LINUX_DIR)/include," \
25 $(WRKBUILD)/Makefile
26 $(SED) "s,^LIBC_INCLUDE.*,LIBC_INCLUDE=$(STAGING_DIR)/include," \
27 $(WRKBUILD)/Makefile
28 # For now disable compiling of the misc directory because it seems to fail
29 rm -rf $(WRKBUILD)/misc
30 $(SED) "s, misc,," $(WRKBUILD)/Makefile
31 touch $@
32
33$(WRKBUILD)/.built:
34 $(MAKE) -j1 -C $(WRKBUILD)/netem HOSTCC=$(HOSTCC) CFLAGS="-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I ../include -DRESOLVE_HOSTNAMES"
35 $(MAKE) -j1 -C $(WRKBUILD) $(TARGET_CONFIGURE_OPTS) KERNEL_INCLUDE=$(LINUX_DIR)/include all tc/tc ip/ip
36 touch $@
37
38$(IPKG_IP):
39 mkdir -p $(IDIR_IP)/usr/sbin
40 $(CP) $(WRKBUILD)/ip/ip $(IDIR_IP)/usr/sbin/
41 $(RSTRIP) $(IDIR_IP)
42 $(IPKG_BUILD) $(IDIR_IP) $(PACKAGE_DIR)
43
44$(IPKG_TC):
45 mkdir -p $(IDIR_TC)/usr/sbin
46 $(CP) $(WRKBUILD)/tc/tc $(IDIR_TC)/usr/sbin/
47 $(RSTRIP) $(IDIR_TC)
48 $(IPKG_BUILD) $(IDIR_TC) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.