meson: add geneve to build system
authorSusant Sahani <susant@redhat.com>
Tue, 25 Apr 2017 15:00:34 +0000 (20:30 +0530)
committerSusant Sahani <susant@redhat.com>
Tue, 25 Apr 2017 15:00:34 +0000 (20:30 +0530)
```
[107/1793] Compiling c object 'src/basic/basic@sta/log.c.o'
In file included from ../src/basic/log.c:44:0:
../src/basic/missing.h:762:6: warning: "HAVE_DECL_IFLA_GENEVE_LABEL" is not defined, evaluates to 0 [-Wundef]
^~~~~~~~~~~~~~~~~~~~~~~~~~~
[108/1793] Compiling c object 'src/basic/basic@sta/path-util.c.o'
In file included from ../src/basic/path-util.c:40:0:
../src/basic/missing.h:762:6: warning: "HAVE_DECL_IFLA_GENEVE_LABEL" is not defined, evaluates to 0 [-Wundef]
^~~~~~~~~~~~~~~~~~~~~~~~~~~

```

meson.build
src/network/meson.build

index 71cc431..b18e645 100644 (file)
@@ -374,6 +374,7 @@ foreach decl : [['IFLA_INET6_ADDR_GEN_MODE',         'linux/if_link.h'],
                 ['IFLA_VLAN_PROTOCOL',               'linux/if_link.h'],
                 ['IFLA_VXLAN_REMCSUM_NOPARTIAL',     'linux/if_link.h'],
                 ['IFLA_VXLAN_GPE',                   'linux/if_link.h'],
+                ['IFLA_GENEVE_LABEL',                'linux/if_link.h'],
                 # if_tunnel.h is buggy and cannot be included on its own
                 ['IFLA_VTI_REMOTE',                  'linux/if_tunnel.h', '#include <net/if.h>'],
                 ['IFLA_IPTUN_ENCAP_DPORT',           'linux/if_tunnel.h', '#include <net/if.h>'],
index 6bbada3..94bbb15 100644 (file)
@@ -25,6 +25,8 @@ sources = files('''
         netdev/vrf.h
         netdev/vxlan.c
         netdev/vxlan.h
+        netdev/geneve.c
+        netdev/geneve.h
         networkd-address-pool.c
         networkd-address-pool.h
         networkd-address.c