diff mbox

[API-NEXT] linux-gen: fix odp_schedule.m4

Message ID 1486434917-1944-1-git-send-email-yi.he@linaro.org
State Accepted
Commit f0ee0e9812cb05fac89ed464732a3cd421974af9
Headers show

Commit Message

Yi He Feb. 7, 2017, 2:35 a.m. UTC
Fixed configure script when enables schedule option
schedule-iquery=yes or schedule-sp=yes: command not found

Signed-off-by: Yi He <yi.he@linaro.org>

---
 platform/linux-generic/m4/odp_schedule.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.7.4

Comments

Bill Fischofer Feb. 7, 2017, 3:17 a.m. UTC | #1
On Mon, Feb 6, 2017 at 8:35 PM, Yi He <yi.he@linaro.org> wrote:
> Fixed configure script when enables schedule option

> schedule-iquery=yes or schedule-sp=yes: command not found

>

> Signed-off-by: Yi He <yi.he@linaro.org>


Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>

> ---

>  platform/linux-generic/m4/odp_schedule.m4 | 4 ++--

>  1 file changed, 2 insertions(+), 2 deletions(-)

>

> diff --git a/platform/linux-generic/m4/odp_schedule.m4 b/platform/linux-generic/m4/odp_schedule.m4

> index 2dcc9a7..91c19f2 100644

> --- a/platform/linux-generic/m4/odp_schedule.m4

> +++ b/platform/linux-generic/m4/odp_schedule.m4

> @@ -1,13 +1,13 @@

>  AC_ARG_ENABLE([schedule-sp],

>      [  --enable-schedule-sp    enable strict priority scheduler],

>      [if test x$enableval = xyes; then

> -       schedule-sp=yes

> +       schedule_sp_enabled=yes

>         ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_SP"

>      fi])

>

>  AC_ARG_ENABLE([schedule-iquery],

>      [  --enable-schedule-iquery    enable interests query (sparse bitmap) scheduler],

>      [if test x$enableval = xyes; then

> -       schedule-iquery=yes

> +       schedule_iquery_enabled=yes

>         ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_IQUERY"

>      fi])

> --

> 2.7.4

>
Maxim Uvarov Feb. 7, 2017, 4:57 p.m. UTC | #2
Merged,
Maxim.

On 02/07/17 06:17, Bill Fischofer wrote:
> On Mon, Feb 6, 2017 at 8:35 PM, Yi He <yi.he@linaro.org> wrote:

>> Fixed configure script when enables schedule option

>> schedule-iquery=yes or schedule-sp=yes: command not found

>>

>> Signed-off-by: Yi He <yi.he@linaro.org>

> 

> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>

> 

>> ---

>>  platform/linux-generic/m4/odp_schedule.m4 | 4 ++--

>>  1 file changed, 2 insertions(+), 2 deletions(-)

>>

>> diff --git a/platform/linux-generic/m4/odp_schedule.m4 b/platform/linux-generic/m4/odp_schedule.m4

>> index 2dcc9a7..91c19f2 100644

>> --- a/platform/linux-generic/m4/odp_schedule.m4

>> +++ b/platform/linux-generic/m4/odp_schedule.m4

>> @@ -1,13 +1,13 @@

>>  AC_ARG_ENABLE([schedule-sp],

>>      [  --enable-schedule-sp    enable strict priority scheduler],

>>      [if test x$enableval = xyes; then

>> -       schedule-sp=yes

>> +       schedule_sp_enabled=yes

>>         ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_SP"

>>      fi])

>>

>>  AC_ARG_ENABLE([schedule-iquery],

>>      [  --enable-schedule-iquery    enable interests query (sparse bitmap) scheduler],

>>      [if test x$enableval = xyes; then

>> -       schedule-iquery=yes

>> +       schedule_iquery_enabled=yes

>>         ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_IQUERY"

>>      fi])

>> --

>> 2.7.4

>>
diff mbox

Patch

diff --git a/platform/linux-generic/m4/odp_schedule.m4 b/platform/linux-generic/m4/odp_schedule.m4
index 2dcc9a7..91c19f2 100644
--- a/platform/linux-generic/m4/odp_schedule.m4
+++ b/platform/linux-generic/m4/odp_schedule.m4
@@ -1,13 +1,13 @@ 
 AC_ARG_ENABLE([schedule-sp],
     [  --enable-schedule-sp    enable strict priority scheduler],
     [if test x$enableval = xyes; then
-	schedule-sp=yes
+	schedule_sp_enabled=yes
 	ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_SP"
     fi])
 
 AC_ARG_ENABLE([schedule-iquery],
     [  --enable-schedule-iquery    enable interests query (sparse bitmap) scheduler],
     [if test x$enableval = xyes; then
-	schedule-iquery=yes
+	schedule_iquery_enabled=yes
 	ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_IQUERY"
     fi])