]> git.droids-corp.org - dpdk.git/commitdiff
build: set compat lib as universal dependency
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 22 Jan 2018 15:42:54 +0000 (15:42 +0000)
committerBruce Richardson <bruce.richardson@intel.com>
Tue, 30 Jan 2018 20:59:00 +0000 (21:59 +0100)
By making "compat" lib (which consists of a header only) a dependency of
the EAL, we make the header file available to all other libs, drivers and
apps, and thereby make it less work to do ABI versioning.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
drivers/net/bonding/meson.build
lib/librte_distributor/meson.build
lib/librte_eal/meson.build
lib/librte_ether/meson.build
lib/librte_hash/meson.build
lib/librte_lpm/meson.build

index 4dc5a5f6713cd280d90114043ab9120f35a41249..b90abc6deb041030997e97bfdd4d8485ad897047 100644 (file)
@@ -6,6 +6,6 @@ sources = files('rte_eth_bond_api.c', 'rte_eth_bond_pmd.c',
        'rte_eth_bond_args.c', 'rte_eth_bond_8023ad.c', 'rte_eth_bond_alb.c')
 
 deps += 'sched' # needed for rte_bitmap.h
-deps += ['compat', 'ip_frag', 'cmdline']
+deps += ['ip_frag', 'cmdline']
 
 install_headers('rte_eth_bond.h', 'rte_eth_bond_8023ad.h')
index e9caf867556e99f60f8f4f560ebc235770da55a7..dba7e3b2aa0190db9f5837e9b088b51a4c5d0bec 100644 (file)
@@ -8,4 +8,4 @@ else
        sources += files('rte_distributor_match_generic.c')
 endif
 headers = files('rte_distributor.h')
-deps += ['mbuf', 'compat']
+deps += ['mbuf']
index 38e4c6573b86fe4b0803a01ca1c5dca529aa966d..6fb2ef17fefe79a64d3f71c33fe7f8ccd4d51775 100644 (file)
@@ -46,6 +46,7 @@ endif
 
 version = 6  # the version of the EAL API
 allow_experimental_apis = true
+deps += 'compat'
 cflags += '-D_GNU_SOURCE'
 sources = common_sources + env_sources
 objs = common_objs + env_objs
index 97789b9fad3c9d85484b1f42e65f572d2094fbbb..7fed8605611a891d914ba70b4d0cf7f60317c40e 100644 (file)
@@ -24,4 +24,4 @@ headers = files('rte_ethdev.h',
        'rte_tm.h',
        'rte_tm_driver.h')
 
-deps += ['net', 'compat']
+deps += ['net']
index 8e11137895ab9288be330ebac8dab124febd2efb..e139e1d762f0c323659ba4b63b7b2913671dbc1b 100644 (file)
@@ -14,4 +14,4 @@ headers = files('rte_cmp_arm64.h',
        'rte_thash.h')
 
 sources = files('rte_cuckoo_hash.c', 'rte_fbk_hash.c')
-deps += ['ring', 'compat']
+deps += ['ring']
index a7c7fa7ae490e7c3a536851f027af72b03a4eb1a..0678494272fd77644cbc6c8d48fa5e959efe1b8e 100644 (file)
@@ -7,4 +7,3 @@ headers = files('rte_lpm.h', 'rte_lpm6.h')
 # since header files have different names, we can install all vector headers
 # without worrying about which architecture we actually need
 headers += files('rte_lpm_altivec.h', 'rte_lpm_neon.h', 'rte_lpm_sse.h')
-deps += ['compat']