]> git.proxmox.com Git - mirror_frr.git/commit - Makefile.am
build: include our own copies of some linux kernel headers
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 21 Sep 2017 01:12:56 +0000 (22:12 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 24 Oct 2017 11:20:12 +0000 (09:20 -0200)
commitba7773964c87019308e65a15b509e9889f7edc49
tree866360d3a33d6d15266314e9c8778a278a6a400a
parent72806e2d23228892993eacdf9415f29eadb52f55
build: include our own copies of some linux kernel headers

This is the definitive solution to avoid build issues on old Linux
systems, where the system kernel headers might not contain some constants
or macros used by FRR (e.g. MPLS_IPTUNNEL_DST, introduced on 2015).

This is the same strategy adopted by other projects, like iproute2,
libnl, lldpd, strongswan, etc. These header files don't need to be in
sync with upstream, they only need to be updated when necessary (e.g. if
we want to use a new feature introduced by a recent kernel).

Fixes #962 using the solution suggested by David Lamparter.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Makefile.am
include/linux/if_bridge.h [new file with mode: 0644]
include/linux/if_link.h [new file with mode: 0644]
include/linux/lwtunnel.h [new file with mode: 0644]
include/linux/mpls_iptunnel.h [new file with mode: 0644]
include/linux/neighbour.h [new file with mode: 0644]
include/linux/rtnetlink.h [new file with mode: 0644]
include/linux/socket.h [new file with mode: 0644]
include/subdir.am [new file with mode: 0644]
zebra/if_netlink.c
zebra/rt_netlink.c