Skip to contentSkip to conversation

package: fix fallout from checking kconfig config files

PATCH New Yann E. MORIN 2 participants 2 messages Jul 14, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package: fix fallout from checking kconfig config files

Those checks should only be dione when the package is actually enabled.

---
 package/busybox/busybox.mk | 2 +-
 package/uclibc/uclibc.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/busybox/busybox.mk +1 -1
index d8c8bad..6b2abca 100644
@@ -225,7 +225,7 @@ endef
 
 # Checks to give errors that the user can understand
 # Must be before we call to kconfig-package
-ifeq ($(BR_BUILDING),y)
+ifeq ($(BR2_PACKAGE_BUSYBOX)$(BR_BUILDING),yy)
 ifeq ($(call qstrip,$(BR2_PACKAGE_BUSYBOX_CONFIG)),)
 $(error No BusyBox configuration file specified, check your BR2_PACKAGE_BUSYBOX_CONFIG setting)
 endif
package/uclibc/uclibc.mk +1 -1
index 3aceae3..9dfafad 100644
@@ -476,7 +476,7 @@ endef
 
 # Checks to give errors that the user can understand
 # Must be before we call to kconfig-package
-ifeq ($(BR_BUILDING),y)
+ifeq ($(BR2_PACKAGE_UCLIBC)$(BR_BUILDING),yy)
 ifeq ($(call qstrip,$(BR2_UCLIBC_CONFIG)),)
 $(error No uClibc configuration file specified, check your BR2_UCLIBC_CONFIG setting)
 endif
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 package: fix fallout from checking kconfig config files

Dear Yann E. MORIN,

Quoted 8 lines · Yann E. MORIN

Those checks should only be dione when the package is actually enabled.

---
 package/busybox/busybox.mk | 2 +-
 package/uclibc/uclibc.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com