From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Builroot Make Error (
Date: Wed, 3 Dec 2008 09:17:21 +0100 [thread overview]
Message-ID: <20081203091721.70003613@surf> (raw)
In-Reply-To: <BAY124-W558A56205B09EF85A2940ED2030@phx.gbl>
Le Tue, 2 Dec 2008 16:45:13 -0800,
Quick X <quickx@hotmail.com> a ?crit :
> make menuconfig > Target Options > Atmel Device Support > Secondary
> locations (*** Package support ***) > also copy the image to...
> If this value is set to nothing "()" then you get a "mkdir -p"
> "mkdir: missing operand" "Error 1" problem, most the other "Copy To"
> Locations allow you to not copy if you wish it. [...]
There's a missing test in
target/device/Atmel/at91bootstrap/at91bootstrap.mk, fixed by the
attached patch. But I think your problem is occuring in
target/device/Atmel/u-boot/u-boot.mk, which uses TARGET_ATMEL_COPYTO
without testing if it's set or not. A more slightly more complicated
fix is needed here.
Sincerly,
Thomas
---
target/device/Atmel/at91bootstrap/at91bootstrap.mk | 2 ++
1 file changed, 2 insertions(+)
Index: buildroot2/target/device/Atmel/at91bootstrap/at91bootstrap.mk
===================================================================
--- buildroot2.orig/target/device/Atmel/at91bootstrap/at91bootstrap.mk
+++ buildroot2/target/device/Atmel/at91bootstrap/at91bootstrap.mk
@@ -63,7 +63,9 @@
$(BINARIES_DIR)/$(AT91BOOTSTRAP_BINARY): $(AT91BOOTSTRAP_TARGET)
mkdir -p $(BINARIES_DIR)
cp $(AT91BOOTSTRAP_TARGET) $(BINARIES_DIR)/$(AT91BOOTSTRAP_BINARY)
+ifneq ($(TARGET_ATMEL_COPYTO),)
cp $(AT91BOOTSTRAP_TARGET) $(BR2_TARGET_ATMEL_COPYTO)/$(AT91BOOTSTRAP_BINARY)
+endif
.PHONY: at91bootstrap at91bootstrap-source
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
prev parent reply other threads:[~2008-12-03 8:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-03 0:45 [Buildroot] Builroot Make Error ( Quick X
2008-12-03 8:17 ` Thomas Petazzoni [this message]
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=20081203091721.70003613@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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