[Buildroot] Builroot Make Error (

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Dec 3 08:17:21 UTC 2008

Le Tue, 2 Dec 2008 16:45:13 -0800,
Quick X <quickx at 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.



 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 @@
 	mkdir -p $(BINARIES_DIR)
 .PHONY: at91bootstrap at91bootstrap-source

Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.

More information about the buildroot mailing list