Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3 1/3] boot/uboot: pass TARGET_MAKE_ENV to make environment, remove TARGET_CONFIGURE_OPTS
@ 2015-02-04 22:29 Jörg Krause
  2015-02-04 22:29 ` [Buildroot] [PATCH v3 2/3] boot/uboot: Add support for Kbuild & Kconfig build system Jörg Krause
  2015-02-04 22:29 ` [Buildroot] [PATCH v3 3/3] boot/uboot: Add uboot-menuconfig and friends Jörg Krause
  0 siblings, 2 replies; 7+ messages in thread
From: Jörg Krause @ 2015-02-04 22:29 UTC (permalink / raw)
  To: buildroot

Use TARGET_MAKE_ENV instead of TARGET_CONFIGURE_OPTS to set the make
environment. Remove TARGET_CONFIGURE_OPTS since the solely needed make
options are ARCH and CROSS_COMPILE which are set by UBOOT_MAKE_OPTS.

Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
--- 
Changes v2 -> v3: 
  - Rewrite commit log; clarify why? (Thomas Petazzoni)
Changes v1 -> v2: 
  - Rewrite of commit log
---
 boot/uboot/uboot.mk | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index a9ba054..d18ad87 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -94,9 +94,7 @@ UBOOT_POST_PATCH_HOOKS += UBOOT_APPLY_CUSTOM_PATCHES
 endif
 
 define UBOOT_CONFIGURE_CMDS
-	$(TARGET_CONFIGURE_OPTS) 	\
-		$(MAKE) -C $(@D) $(UBOOT_MAKE_OPTS)		\
-		$(UBOOT_BOARD_NAME)_config
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) $(UBOOT_BOARD_NAME)_config
 	@echo >> $(@D)/include/config.h
 	@echo "/* Add a wrapper around the values Buildroot sets. */" >> $(@D)/include/config.h
 	@echo "#ifndef __BR2_ADDED_CONFIG_H" >> $(@D)/include/config.h
@@ -113,9 +111,7 @@ define UBOOT_CONFIGURE_CMDS
 endef
 
 define UBOOT_BUILD_CMDS
-	$(TARGET_CONFIGURE_OPTS) 	\
-		$(MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) 		\
-		$(UBOOT_MAKE_TARGET)
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) $(UBOOT_MAKE_TARGET)
 endef
 
 define UBOOT_BUILD_OMAP_IFT
-- 
2.2.2

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

end of thread, other threads:[~2015-03-24 12:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-04 22:29 [Buildroot] [PATCH v3 1/3] boot/uboot: pass TARGET_MAKE_ENV to make environment, remove TARGET_CONFIGURE_OPTS Jörg Krause
2015-02-04 22:29 ` [Buildroot] [PATCH v3 2/3] boot/uboot: Add support for Kbuild & Kconfig build system Jörg Krause
2015-02-04 22:29 ` [Buildroot] [PATCH v3 3/3] boot/uboot: Add uboot-menuconfig and friends Jörg Krause
2015-03-23 10:28   ` Yegor Yefremov
2015-03-23 13:43     ` Jörg Krause
2015-03-23 13:47       ` Yegor Yefremov
2015-03-24 12:59         ` Jörg Krause

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