eal: clean make and meson files
authorThomas Monjalon <thomas@monjalon.net>
Fri, 27 Mar 2020 01:15:40 +0000 (02:15 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 31 Mar 2020 11:08:55 +0000 (13:08 +0200)
Clean up indent and line ordering in Makefile and meson.build
for consistency in linux/ and freebsd/ directories.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/freebsd/Makefile
lib/librte_eal/freebsd/meson.build
lib/librte_eal/linux/Makefile
lib/librte_eal/linux/meson.build

index 952f4f1..e5d4d8f 100644 (file)
@@ -6,8 +6,8 @@ include $(RTE_SDK)/mk/rte.vars.mk
 LIB = librte_eal.a
 
 ARCH_DIR ?= $(RTE_ARCH)
-VPATH += $(RTE_SDK)/lib/librte_eal/common
 VPATH += $(RTE_SDK)/lib/librte_eal/$(ARCH_DIR)
+VPATH += $(RTE_SDK)/lib/librte_eal/common
 
 CFLAGS += -DALLOW_EXPERIMENTAL_API
 CFLAGS += -I$(SRCDIR)/include
index 5e6afd9..22fc4e8 100644 (file)
@@ -3,18 +3,19 @@
 
 subdir('include')
 
-sources += files('eal_alarm.c',
-               'eal_cpuflags.c',
-               'eal_debug.c',
-               'eal_hugepage_info.c',
-               'eal_interrupts.c',
-               'eal_lcore.c',
-               'eal_memalloc.c',
-               'eal_thread.c',
-               'eal_timer.c',
-               'eal.c',
-               'eal_memory.c',
-               'eal_dev.c'
+sources += files(
+       'eal.c',
+       'eal_alarm.c',
+       'eal_cpuflags.c',
+       'eal_debug.c',
+       'eal_dev.c',
+       'eal_hugepage_info.c',
+       'eal_interrupts.c',
+       'eal_lcore.c',
+       'eal_memalloc.c',
+       'eal_memory.c',
+       'eal_thread.c',
+       'eal_timer.c',
 )
 
 deps += ['kvargs']
index 82c3fc5..e5f4495 100644 (file)
@@ -6,10 +6,7 @@ include $(RTE_SDK)/mk/rte.vars.mk
 LIB = librte_eal.a
 
 ARCH_DIR ?= $(RTE_ARCH)
-
-EXPORT_MAP := ../rte_eal_version.map
 VPATH += $(RTE_SDK)/lib/librte_eal/$(ARCH_DIR)
-
 VPATH += $(RTE_SDK)/lib/librte_eal/common
 
 CFLAGS += -DALLOW_EXPERIMENTAL_API
@@ -27,6 +24,8 @@ ifeq ($(CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES),y)
 LDLIBS += -lnuma
 endif
 
+EXPORT_MAP := ../rte_eal_version.map
+
 # specific to linux exec-env
 SRCS-$(CONFIG_RTE_EXEC_ENV_LINUX) := eal.c
 SRCS-$(CONFIG_RTE_EXEC_ENV_LINUX) += eal_cpuflags.c
index 0e95927..ca4f4e9 100644 (file)
@@ -3,21 +3,22 @@
 
 subdir('include')
 
-sources += files('eal_alarm.c',
-               'eal_cpuflags.c',
-               'eal_debug.c',
-               'eal_hugepage_info.c',
-               'eal_interrupts.c',
-               'eal_memalloc.c',
-               'eal_lcore.c',
-               'eal_log.c',
-               'eal_thread.c',
-               'eal_timer.c',
-               'eal_vfio.c',
-               'eal_vfio_mp_sync.c',
-               'eal.c',
-               'eal_memory.c',
-               'eal_dev.c',
+sources += files(
+       'eal.c',
+       'eal_alarm.c',
+       'eal_cpuflags.c',
+       'eal_debug.c',
+       'eal_dev.c',
+       'eal_hugepage_info.c',
+       'eal_interrupts.c',
+       'eal_lcore.c',
+       'eal_log.c',
+       'eal_memalloc.c',
+       'eal_memory.c',
+       'eal_thread.c',
+       'eal_timer.c',
+       'eal_vfio.c',
+       'eal_vfio_mp_sync.c',
 )
 
 deps += ['kvargs']