From: David Marchand Date: Fri, 26 Sep 2014 14:04:00 +0000 (+0200) Subject: eal: no more bare metal environment X-Git-Tag: spdx-start~10031 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f9462cf0b948fff3b3c5b4c05e4386bfe6715a2b;p=dpdk.git eal: no more bare metal environment Signed-off-by: David Marchand Signed-off-by: Thomas Monjalon Acked-by: Neil Horman --- diff --git a/lib/Makefile b/lib/Makefile index 8fad8a3207..0ffc9825c5 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -31,7 +31,6 @@ include $(RTE_SDK)/mk/rte.vars.mk -DIRS-$(CONFIG_RTE_LIBC) += libc DIRS-$(CONFIG_RTE_LIBRTE_EAL) += librte_eal DIRS-$(CONFIG_RTE_LIBRTE_MALLOC) += librte_malloc DIRS-$(CONFIG_RTE_LIBRTE_RING) += librte_ring diff --git a/lib/librte_eal/Makefile b/lib/librte_eal/Makefile index 3e1441b8f6..69003cfeb3 100644 --- a/lib/librte_eal/Makefile +++ b/lib/librte_eal/Makefile @@ -35,7 +35,5 @@ DIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) += common DIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) += linuxapp DIRS-$(CONFIG_RTE_LIBRTE_EAL_BSDAPP) += common DIRS-$(CONFIG_RTE_LIBRTE_EAL_BSDAPP) += bsdapp -DIRS-$(CONFIG_RTE_LIBRTE_EAL_BAREMETAL) += baremetal -DIRS-$(CONFIG_RTE_LIBRTE_EAL_BAREMETAL) += common include $(RTE_SDK)/mk/rte.subdir.mk diff --git a/lib/librte_eal/common/Makefile b/lib/librte_eal/common/Makefile index 499ba4d3b9..52c1a5f31d 100644 --- a/lib/librte_eal/common/Makefile +++ b/lib/librte_eal/common/Makefile @@ -58,7 +58,4 @@ SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include += \ SYMLINK-$(CONFIG_RTE_LIBRTE_EAL)-include/generic := \ $(addprefix include/generic/,$(GENERIC_INC)) -# add libc if configured -DEPDIRS-$(CONFIG_RTE_LIBC) += lib/libc - include $(RTE_SDK)/mk/rte.install.mk diff --git a/lib/librte_eal/common/include/rte_eal.h b/lib/librte_eal/common/include/rte_eal.h index f2c4b7dde1..f4ecd2e0bb 100644 --- a/lib/librte_eal/common/include/rte_eal.h +++ b/lib/librte_eal/common/include/rte_eal.h @@ -129,9 +129,8 @@ int rte_eal_iopl_init(void); * This function is to be executed on the MASTER lcore only, as soon * as possible in the application's main() function. * - * The function finishes the initialization process that was started - * during boot (in case of baremetal) or before main() is called (in - * case of linuxapp). It puts the SLAVE lcores in the WAIT state. + * The function finishes the initialization process before main() is called. + * It puts the SLAVE lcores in the WAIT state. * * When the multi-partition feature is supported, depending on the * configuration (if CONFIG_RTE_EAL_MAIN_PARTITION is disabled), this diff --git a/lib/librte_eal/common/include/rte_log.h b/lib/librte_eal/common/include/rte_log.h index 02cbb14a32..db1ea08c6e 100644 --- a/lib/librte_eal/common/include/rte_log.h +++ b/lib/librte_eal/common/include/rte_log.h @@ -106,8 +106,7 @@ extern FILE *eal_default_log_stream; * * This can be done at any time. The f argument represents the stream * to be used to send the logs. If f is NULL, the default output is - * used, which is the serial line in case of bare metal, or directly - * sent to syslog in case of linux application. + * used (stderr). * * @param f * Pointer to the stream.