From 2ff655c2e13c8075b5a52f12c3b89c8f996426a0 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 5 Dec 2010 21:52:51 +0100 Subject: [PATCH] at91bootstrap: no board name check when 'make source' is used Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- boot/at91bootstrap/at91bootstrap.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2