summaryrefslogtreecommitdiffstats
path: root/boot/at91bootstrap/at91bootstrap.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-12-05 21:52:51 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-16 14:42:36 +0100
commit2ff655c2e13c8075b5a52f12c3b89c8f996426a0 (patch)
treee48a50252d411acc8e56e00d7142bed66be70730 /boot/at91bootstrap/at91bootstrap.mk
parent7c55ac92eed90c8ec69f5556607553f978ab31ce (diff)
downloadbuildroot-2ff655c2e13c8075b5a52f12c3b89c8f996426a0.tar.gz
buildroot-2ff655c2e13c8075b5a52f12c3b89c8f996426a0.zip
at91bootstrap: no board name check when 'make source' is used
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'boot/at91bootstrap/at91bootstrap.mk')
-rw-r--r--boot/at91bootstrap/at91bootstrap.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/boot/at91bootstrap/at91bootstrap.mk b/boot/at91bootstrap/at91bootstrap.mk
index bfffe11542..3d4308edfa 100644
--- a/boot/at91bootstrap/at91bootstrap.mk
+++ b/boot/at91bootstrap/at91bootstrap.mk
@@ -56,8 +56,11 @@ at91bootstrap-dirclean:
ifeq ($(BR2_TARGET_AT91BOOTSTRAP),y)
TARGETS+=at91bootstrap
-# we NEED a board name
+# we NEED a board name unless we're at make source
+ifeq ($(filter source,$(MAKECMDGOALS)),)
ifeq ($(AT91BOOTSTRAP_BOARD),)
$(error No AT91Bootstrap board name set. Check your BR2_TARGET_AT91BOOTSTRAP_BOARD setting)
endif
endif
+
+endif
OpenPOWER on IntegriCloud