From: Thomas Petazzoni Date: Sun, 5 Dec 2010 20:52:51 +0000 (+0100) Subject: at91bootstrap: no board name check when 'make source' is used X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ff655c2e13c8075b5a52f12c3b89c8f996426a0;p=buildroot.git at91bootstrap: no board name check when 'make source' is used Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- 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