From patchwork Wed Feb 4 22:29:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 436497 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id EAD3A140216 for ; Thu, 5 Feb 2015 09:30:20 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BC6B08834F; Wed, 4 Feb 2015 22:30:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RME3OsRurgiy; Wed, 4 Feb 2015 22:30:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 254B28967A; Wed, 4 Feb 2015 22:30:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id EF6B11C15FE for ; Wed, 4 Feb 2015 22:30:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id EC2B292CB5 for ; Wed, 4 Feb 2015 22:30:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qAkD-p74cgGe for ; Wed, 4 Feb 2015 22:30:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx02.posteo.de (mx02.posteo.de [89.146.194.165]) by hemlock.osuosl.org (Postfix) with ESMTPS id DE62D920B0 for ; Wed, 4 Feb 2015 22:30:16 +0000 (UTC) Received: from dovecot03.posteo.de (unknown [185.67.36.28]) by mx02.posteo.de (Postfix) with ESMTPS id 4A4DD25A2104 for ; Wed, 4 Feb 2015 23:30:13 +0100 (CET) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot03.posteo.de (Postfix) with ESMTPSA id 3kcyJP2bdzz5vMp for ; Wed, 4 Feb 2015 23:30:12 +0100 (CET) Received: from nzxt.fritz.box (nzxt.fritz.box [192.168.178.46]) (Authenticated sender: joerg.krause@embedded.rocks) by embedded.rocks (Postfix) with ESMTPSA id 40C8D9814AA; Wed, 4 Feb 2015 23:30:12 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Wed, 4 Feb 2015 23:29:39 +0100 Message-Id: <1423088981-13255-1-git-send-email-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.2.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 1/3] boot/uboot: pass TARGET_MAKE_ENV to make environment, remove TARGET_CONFIGURE_OPTS X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "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 --- 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