Re: [PATCH] kbuild: mark unicore32 header export as broken

From: Peter Foley
Date: Tue Apr 26 2011 - 16:37:06 EST


On 4/26/2011 2:48 AM, Arnaud Lacombe wrote:
> Hi,
>
> On Sun, Apr 24, 2011 at 7:15 PM, Peter Foley <pefoley2@xxxxxxxxxxx> wrote:
>> This patch marks userspace header export for unicore32 as broken so that
>> it is skipped when running make headers_install_all.
>>
> Why ?
>
> I would expect you to send this to arch/unicore32 maintainer too, he
> is not in the CC: list.
>
> - Arnaud
>

Sorry, I've CC'd him on this email.

The error I currently get is:

INSTALL include (0 file)
make[3]: *** No rule to make target `/usr/src/git/arch/unicore32/include/asm/auxvec.h', needed by `/root/linux/t/usr/include/asm/.install'. Stop.
make[2]: *** [headers_install] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2

Patch below.

This patch marks userspace header export for unicore32 as broken so that
it is skipped when running make headers_install_all.

Signed-off-by: Peter Foley <pefoley2@xxxxxxxxxxx>
---
scripts/headers.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/scripts/headers.sh b/scripts/headers.sh
index 978b42b..3ae218e 100755
--- a/scripts/headers.sh
+++ b/scripts/headers.sh
@@ -21,6 +21,8 @@ for arch in ${archs}; do
;;
cris) # headers export are known broken
;;
+ unicore32) # broken
+ ;;
*)
if [ -d ${srctree}/arch/${arch} ]; then
do_command $1 ${arch}
-- 1.7.5.rc1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/