2 # Copyright (C) 2014 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
14 include $(INCLUDE_DIR
)/package.mk
16 define Package
/gre
/Default
19 MAINTAINER
:=Hans Dedecker
<dedeckeh@gmail.com
>
23 $(call Package
/gre
/Default
)
24 TITLE
:=Generic Routing Encapsulation config support
27 define Package
/gre
/description
28 Generic Routing Encapsulation config support
(IPv4 and IPv6
) in
/etc
/config
/network.
32 $(call Package
/gre
/Default
)
33 TITLE
:=Generic Routing Encapsulation
(IPv4
) config support
34 DEPENDS
:=@
(PACKAGE_gre
) +kmod-gre
37 define Package
/grev4
/description
38 Generic Routing Encapsulation config support
(IPv4
) in
/etc
/config
/network.
42 $(call Package
/gre
/Default
)
43 TITLE
:=Generic Routing Encapsulation
(IPv6
) config support
44 DEPENDS
:=@
(PACKAGE_gre
) +kmod-ipv6
+kmod-ip6-gre
47 define Package
/grev6
/description
48 Generic Routing Encapsulation config support
(IPv6
) in
/etc
/config
/network.
54 define Build
/Configure
57 define Package
/gre
/install
58 $(INSTALL_DIR
) $(1)/lib
/netifd
/proto
59 $(INSTALL_BIN
) .
/files
/gre.sh
$(1)/lib
/netifd
/proto
/gre.sh
62 $(eval
$(call BuildPackage
,gre
))
63 $(eval
$(call BuildPackage
,grev4
))
64 $(eval
$(call BuildPackage
,grev6
))