All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/assimp: remove redundant ':' sign
@ 2018-05-05 20:13 Jerzy Grzegorek
  2018-05-05 20:13 ` [Buildroot] [PATCH 2/2] package/aufs: " Jerzy Grzegorek
  2018-05-07 14:42 ` [Buildroot] [PATCH 1/2] package/assimp: " Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Jerzy Grzegorek @ 2018-05-05 20:13 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
---
 package/assimp/assimp.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/assimp/assimp.mk b/package/assimp/assimp.mk
index 4d44748..e391145 100644
--- a/package/assimp/assimp.mk
+++ b/package/assimp/assimp.mk
@@ -20,7 +20,7 @@ endif
 # not passed) in gcc versions 5.x or older. The -Os optimization level
 # causes a "unable to find a register to spill in class
 # ?GENERAL_REGS?" error. -O2 works fine.
-ifeq ($(BR2_sh):$(BR2_STATIC_LIBS):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:y:)
+ifeq ($(BR2_sh)$(BR2_STATIC_LIBS):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),yy:)
 ASSIMP_CXXFLAGS += -O2
 endif
 
-- 
1.9.1

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

* [Buildroot] [PATCH 2/2] package/aufs: remove redundant ':' sign
  2018-05-05 20:13 [Buildroot] [PATCH 1/2] package/assimp: remove redundant ':' sign Jerzy Grzegorek
@ 2018-05-05 20:13 ` Jerzy Grzegorek
  2018-05-07 14:42 ` [Buildroot] [PATCH 1/2] package/assimp: " Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Jerzy Grzegorek @ 2018-05-05 20:13 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
---
 package/aufs/aufs.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/aufs/aufs.mk b/package/aufs/aufs.mk
index 55dbf94..6cd05d8 100644
--- a/package/aufs/aufs.mk
+++ b/package/aufs/aufs.mk
@@ -15,7 +15,7 @@ else ifeq ($(BR2_PACKAGE_AUFS_SERIES),4)
 AUFS_SITE = $(call github,sfjro,aufs4-standalone,$(AUFS_VERSION))
 endif
 
-ifeq ($(BR_BUILDING):$(BR2_PACKAGE_AUFS):$(AUFS_VERSION),y:y:)
+ifeq ($(BR_BUILDING)$(BR2_PACKAGE_AUFS):$(AUFS_VERSION),yy:)
 $(error No aufs version specified)
 endif
 
-- 
1.9.1

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

* [Buildroot] [PATCH 1/2] package/assimp: remove redundant ':' sign
  2018-05-05 20:13 [Buildroot] [PATCH 1/2] package/assimp: remove redundant ':' sign Jerzy Grzegorek
  2018-05-05 20:13 ` [Buildroot] [PATCH 2/2] package/aufs: " Jerzy Grzegorek
@ 2018-05-07 14:42 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2018-05-07 14:42 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat,  5 May 2018 22:13:10 +0200, Jerzy Grzegorek wrote:
> Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
> ---
>  package/assimp/assimp.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/assimp/assimp.mk b/package/assimp/assimp.mk
> index 4d44748..e391145 100644
> --- a/package/assimp/assimp.mk
> +++ b/package/assimp/assimp.mk
> @@ -20,7 +20,7 @@ endif
>  # not passed) in gcc versions 5.x or older. The -Os optimization level
>  # causes a "unable to find a register to spill in class
>  # ?GENERAL_REGS?" error. -O2 works fine.
> -ifeq ($(BR2_sh):$(BR2_STATIC_LIBS):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:y:)
> +ifeq ($(BR2_sh)$(BR2_STATIC_LIBS):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),yy:)

I don't find the ":" to be really redundant. Yes, this ":" is not
technically needed, but it makes the construct very clear and avoids
any possible confusion.

So I think my preference would be to keep things as-is. I know in other
places we don't put a ":" when we need both options to be "y". But when
we have a case where some options need to be "y", some options need to
be empty, I find having a ":" between each to be clearer.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2018-05-07 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-05 20:13 [Buildroot] [PATCH 1/2] package/assimp: remove redundant ':' sign Jerzy Grzegorek
2018-05-05 20:13 ` [Buildroot] [PATCH 2/2] package/aufs: " Jerzy Grzegorek
2018-05-07 14:42 ` [Buildroot] [PATCH 1/2] package/assimp: " Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.