From c78e53b6a4e15b50aca2b666a49b146bf380d927 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 18 Aug 2010 15:52:29 +0200 Subject: buildsys: Do not error on GNUHASH for clean targets Signed-off-by: Bernhard Reutner-Fischer --- Rules.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rules.mak b/Rules.mak index 1f05a8a53..89127043c 100644 --- a/Rules.mak +++ b/Rules.mak @@ -601,7 +601,7 @@ ifeq ($(LDSO_GNU_HASH_SUPPORT),y) # Be sure that binutils support it LDFLAGS_GNUHASH:=$(call check_ld,--hash-style=gnu) ifeq ($(LDFLAGS_GNUHASH),) -ifneq ($(filter-out install_headers headers-y,$(MAKECMDGOALS)),) +ifneq ($(filter-out $(clean_targets) install_headers headers-y,$(MAKECMDGOALS)),) $(error Your binutils do not support --hash-style option, while you want to use it) endif else -- cgit v1.2.3