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
15 include $(INCLUDE_DIR
)/package.mk
17 define Package
/gre
/Default
20 MAINTAINER
:=Hans Dedecker
<dedeckeh@gmail.com
>
24 $(call Package
/gre
/Default
)
25 TITLE
:=Generic Routing Encapsulation config support
28 define Package
/gre
/description
29 Generic Routing Encapsulation config support
(IPv4 and IPv6
) in
/etc
/config
/network.
33 $(call Package
/gre
/Default
)
34 TITLE
:=Generic Routing Encapsulation
(IPv4
) config support
35 DEPENDS
:=@
(PACKAGE_gre
) +kmod-gre
+resolveip
38 define Package
/grev4
/description
39 Generic Routing Encapsulation config support
(IPv4
) in
/etc
/config
/network.
43 $(call Package
/gre
/Default
)
44 TITLE
:=Generic Routing Encapsulation
(IPv6
) config support
45 DEPENDS
:=@
(PACKAGE_gre
) @IPV6
+kmod-gre6
+resolveip
48 define Package
/grev6
/description
49 Generic Routing Encapsulation config support
(IPv6
) in
/etc
/config
/network.
55 define Build
/Configure
58 define Package
/gre
/install
59 $(INSTALL_DIR
) $(1)/lib
/netifd
/proto
60 $(INSTALL_BIN
) .
/files
/gre.sh
$(1)/lib
/netifd
/proto
/gre.sh
63 define Package
/grev4
/install
67 define Package
/grev6
/install
71 $(eval
$(call BuildPackage
,gre
))
72 $(eval
$(call BuildPackage
,grev4
))
73 $(eval
$(call BuildPackage
,grev6
))