From 84437357b90990855aec3e66fadce125cba07c16 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Sun, 22 Jun 2008 21:41:13 +0200 Subject: [PATCH] --- yaml --- r: 106510 b: refs/heads/master c: a53ce098a763a33311b60c53161572f5789d5594 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/Makefile | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 08530807ad13..57e023e932f9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2fb9b1bd9dd7f4455407dc1bec74fb8ae0d3138e +refs/heads/master: a53ce098a763a33311b60c53161572f5789d5594 diff --git a/trunk/Makefile b/trunk/Makefile index c5ab2b8a138a..ad0533b9a0d4 100644 --- a/trunk/Makefile +++ b/trunk/Makefile @@ -1416,7 +1416,11 @@ define find-sources \( -name config -o -name 'asm-*' \) -prune \ -o -name $1 -print; \ for arch in $(ALLINCLUDE_ARCHS) ; do \ - find $(__srctree)include/asm-$${arch} $(RCS_FIND_IGNORE) \ + test -e $(__srctree)include/asm-$${arch} && \ + find $(__srctree)include/asm-$${arch} $(RCS_FIND_IGNORE) \ + -name $1 -print; \ + test -e $(__srctree)arch/$${arch}/include/asm && \ + find $(__srctree)arch/$${arch}/include/asm $(RCS_FIND_IGNORE) \ -name $1 -print; \ done ; \ find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \