Skip to content

Commit

Permalink
build: move odp scheduler setting to common m4 file
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
  • Loading branch information
Dmitry Eremin-Solenikov authored and muvarov committed Mar 29, 2018
1 parent d6de4df commit 06321dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# ODP_SCHEDULER
# -------------
# Select default scheduler
AC_DEFUN([ODP_SCHEDULER], [dnl
AC_ARG_ENABLE([scheduler-default],
[AS_HELP_STRING([enable-scheduler-default],
[Choose default scheduler (default is basic)])],
[], [enable_scheduler_default=basic])
AC_DEFINE_UNQUOTED([ODP_SCHEDULE_DEFAULT], ["$enable_scheduler_default"],
[Define to name default scheduler])
]) # ODP_SCHEDULER
2 changes: 1 addition & 1 deletion platform/linux-generic/m4/configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ODP_LIBCONFIG
m4_include([platform/linux-generic/m4/odp_pcap.m4])
m4_include([platform/linux-generic/m4/odp_netmap.m4])
m4_include([platform/linux-generic/m4/odp_dpdk.m4])
m4_include([platform/linux-generic/m4/odp_schedule.m4])
ODP_SCHEDULER

m4_include([platform/linux-generic/m4/performance.m4])

Expand Down

0 comments on commit 06321dc

Please sign in to comment.