Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/coremark: Set cflags
@ 2022-09-13  7:23 Joel Stanley
  2022-09-16  5:02 ` Chris Packham
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Joel Stanley @ 2022-09-13  7:23 UTC (permalink / raw)
  To: buildroot; +Cc: Chris Packham

The coremark build needs to set PORT_CFLAGS explicitly in order to pick
up the configured optmisation level, and other flags.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 package/coremark/coremark.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/coremark/coremark.mk b/package/coremark/coremark.mk
index 418fd5c8d39b..9ea8693e7189 100644
--- a/package/coremark/coremark.mk
+++ b/package/coremark/coremark.mk
@@ -11,6 +11,7 @@ COREMARK_LICENSE_FILES = LICENSE.md
 
 define COREMARK_BUILD_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" -C $(@D) \
+		PORT_CFLAGS="$(TARGET_CFLAGS)" \
 		PORT_DIR=linux$(if $(BR2_ARCH_IS_64),64) EXE= link
 endef
 
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH] package/coremark: Set cflags
  2022-09-13  7:23 [Buildroot] [PATCH] package/coremark: Set cflags Joel Stanley
@ 2022-09-16  5:02 ` Chris Packham
  2022-10-16  4:50   ` Joel Stanley
  2023-04-16 19:12 ` Yann E. MORIN
  2023-04-23 10:29 ` Peter Korsgaard
  2 siblings, 1 reply; 5+ messages in thread
From: Chris Packham @ 2022-09-16  5:02 UTC (permalink / raw)
  To: Joel Stanley; +Cc: buildroot

On Tue, Sep 13, 2022 at 7:23 PM Joel Stanley <joel@jms.id.au> wrote:
>
> The coremark build needs to set PORT_CFLAGS explicitly in order to pick
> up the configured optmisation level, and other flags.
>
> Signed-off-by: Joel Stanley <joel@jms.id.au>

Acked-by: Chris Packham <judge.packham@gmail.com>

> ---
>  package/coremark/coremark.mk | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/package/coremark/coremark.mk b/package/coremark/coremark.mk
> index 418fd5c8d39b..9ea8693e7189 100644
> --- a/package/coremark/coremark.mk
> +++ b/package/coremark/coremark.mk
> @@ -11,6 +11,7 @@ COREMARK_LICENSE_FILES = LICENSE.md
>
>  define COREMARK_BUILD_CMDS
>         $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" -C $(@D) \
> +               PORT_CFLAGS="$(TARGET_CFLAGS)" \
>                 PORT_DIR=linux$(if $(BR2_ARCH_IS_64),64) EXE= link
>  endef
>
> --
> 2.35.1
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH] package/coremark: Set cflags
  2022-09-16  5:02 ` Chris Packham
@ 2022-10-16  4:50   ` Joel Stanley
  0 siblings, 0 replies; 5+ messages in thread
From: Joel Stanley @ 2022-10-16  4:50 UTC (permalink / raw)
  To: Chris Packham; +Cc: buildroot

On Fri, 16 Sept 2022 at 05:03, Chris Packham <judge.packham@gmail.com> wrote:
>
> On Tue, Sep 13, 2022 at 7:23 PM Joel Stanley <joel@jms.id.au> wrote:
> >
> > The coremark build needs to set PORT_CFLAGS explicitly in order to pick
> > up the configured optmisation level, and other flags.
> >
> > Signed-off-by: Joel Stanley <joel@jms.id.au>
>
> Acked-by: Chris Packham <judge.packham@gmail.com>

ping

>
> > ---
> >  package/coremark/coremark.mk | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/package/coremark/coremark.mk b/package/coremark/coremark.mk
> > index 418fd5c8d39b..9ea8693e7189 100644
> > --- a/package/coremark/coremark.mk
> > +++ b/package/coremark/coremark.mk
> > @@ -11,6 +11,7 @@ COREMARK_LICENSE_FILES = LICENSE.md
> >
> >  define COREMARK_BUILD_CMDS
> >         $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" -C $(@D) \
> > +               PORT_CFLAGS="$(TARGET_CFLAGS)" \
> >                 PORT_DIR=linux$(if $(BR2_ARCH_IS_64),64) EXE= link
> >  endef
> >
> > --
> > 2.35.1
> >
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH] package/coremark: Set cflags
  2022-09-13  7:23 [Buildroot] [PATCH] package/coremark: Set cflags Joel Stanley
  2022-09-16  5:02 ` Chris Packham
@ 2023-04-16 19:12 ` Yann E. MORIN
  2023-04-23 10:29 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2023-04-16 19:12 UTC (permalink / raw)
  To: Joel Stanley; +Cc: Chris Packham, buildroot

Joel, All,

On 2022-09-13 16:53 +0930, Joel Stanley spake thusly:
> The coremark build needs to set PORT_CFLAGS explicitly in order to pick
> up the configured optmisation level, and other flags.
> 
> Signed-off-by: Joel Stanley <joel@jms.id.au>

Applied to master, thanks.

Sorry for the delay in reviewing and applying such a simple patch. :-(

Regards,
Yann E. MORIN.

> ---
>  package/coremark/coremark.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/coremark/coremark.mk b/package/coremark/coremark.mk
> index 418fd5c8d39b..9ea8693e7189 100644
> --- a/package/coremark/coremark.mk
> +++ b/package/coremark/coremark.mk
> @@ -11,6 +11,7 @@ COREMARK_LICENSE_FILES = LICENSE.md
>  
>  define COREMARK_BUILD_CMDS
>  	$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" -C $(@D) \
> +		PORT_CFLAGS="$(TARGET_CFLAGS)" \
>  		PORT_DIR=linux$(if $(BR2_ARCH_IS_64),64) EXE= link
>  endef
>  
> -- 
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH] package/coremark: Set cflags
  2022-09-13  7:23 [Buildroot] [PATCH] package/coremark: Set cflags Joel Stanley
  2022-09-16  5:02 ` Chris Packham
  2023-04-16 19:12 ` Yann E. MORIN
@ 2023-04-23 10:29 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2023-04-23 10:29 UTC (permalink / raw)
  To: Joel Stanley; +Cc: Chris Packham, buildroot

>>>>> "Joel" == Joel Stanley <joel@jms.id.au> writes:

 > The coremark build needs to set PORT_CFLAGS explicitly in order to pick
 > up the configured optmisation level, and other flags.

 > Signed-off-by: Joel Stanley <joel@jms.id.au>

Committed to 2023.02.x and 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-04-23 10:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-13  7:23 [Buildroot] [PATCH] package/coremark: Set cflags Joel Stanley
2022-09-16  5:02 ` Chris Packham
2022-10-16  4:50   ` Joel Stanley
2023-04-16 19:12 ` Yann E. MORIN
2023-04-23 10:29 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox