eal: clean make and meson files

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>
This commit is contained in:
Thomas Monjalon 2020-03-27 02:15:40 +01:00 committed by David Marchand
parent a083f8cc77
commit 5f60d38b5a
4 changed files with 32 additions and 31 deletions

View 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

View 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']

View 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

View 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']