mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ladislav Michl <ladis@linux-mips.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/2] at91bootstrap: Use generic compile rule
Date: Mon, 21 May 2018 16:35:36 +0200	[thread overview]
Message-ID: <20180521143536.GA20729@lenoch> (raw)

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
 rules/at91bootstrap.make | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/rules/at91bootstrap.make b/rules/at91bootstrap.make
index bdf7942e9..cc24a2a0f 100644
--- a/rules/at91bootstrap.make
+++ b/rules/at91bootstrap.make
@@ -39,22 +39,17 @@ AT91BOOTSTRAP_WRAPPER_BLACKLIST := \
 	TARGET_DEBUG \
 	TARGET_BUILD_ID
 
-AT91BOOTSTRAP_ENV 	:= \
-    CROSS_COMPILE=$(COMPILER_PREFIX) \
-    pkg_wrapper_blacklist="$(AT91BOOTSTRAP_WRAPPER_BLACKLIST)"
-
-AT91BOOTSTRAP_BOOTMEDIA-$(PTXCONF_AT91BOOTSTRAP_BOOT_DATAFLASH) += dataflash
+AT91BOOTSTRAP_BOOTMEDIA-$(PTXCONF_AT91BOOTSTRAP_BOOT_DATAFLASH)	+= dataflash
 AT91BOOTSTRAP_BOOTMEDIA-$(PTXCONF_AT91BOOTSTRAP_BOOT_NAND)	+= nandflash
 
 AT91BOOTSTRAP_BOARDDIR  := \
 	$(AT91BOOTSTRAP_DIR)/board/${PTXCONF_AT91BOOTSTRAP_CONFIG}/$(AT91BOOTSTRAP_BOOTMEDIA-y)
 
-$(STATEDIR)/at91bootstrap.compile:
-	@$(call targetinfo)
-	@cd $(AT91BOOTSTRAP_BOARDDIR) && \
-		$(AT91BOOTSTRAP_PATH) $(AT91BOOTSTRAP_ENV) \
-		$(MAKE) $(PARALLELMFLAGS_BROKEN)
-	@$(call touch)
+AT91BOOTSTRAP_MAKE_ENV	:= $(CROSS_ENV)
+AT91BOOTSTRAP_MAKE_PAR	:= NO
+AT91BOOTSTRAP_MAKE_OPT	:= \
+	CROSS_COMPILE=$(COMPILER_PREFIX) \
+	-C $(AT91BOOTSTRAP_BOARDDIR)
 
 # ----------------------------------------------------------------------------
 # Install
-- 
2.17.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2018-05-21 14:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-21 14:35 Ladislav Michl [this message]
2018-05-21 14:36 ` [ptxdist] [PATCH 2/2] at91bootstrap: Remove notes section Ladislav Michl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180521143536.GA20729@lenoch \
    --to=ladis@linux-mips.org \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox