linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kbuild: mark unicore32 header export as broken
@ 2011-04-24 23:15 Peter Foley
  2011-04-26  6:48 ` Arnaud Lacombe
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Foley @ 2011-04-24 23:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-kbuild, mmarek

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@verizon.net>
---
 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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] kbuild: mark unicore32 header export as broken
  2011-04-24 23:15 [PATCH] kbuild: mark unicore32 header export as broken Peter Foley
@ 2011-04-26  6:48 ` Arnaud Lacombe
  2011-04-26 17:07   ` Américo Wang
  2011-04-26 20:36   ` Peter Foley
  0 siblings, 2 replies; 6+ messages in thread
From: Arnaud Lacombe @ 2011-04-26  6:48 UTC (permalink / raw)
  To: pefoley2; +Cc: linux-kernel, linux-kbuild, mmarek

Hi,

On Sun, Apr 24, 2011 at 7:15 PM, Peter Foley <pefoley2@verizon.net> 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

> Signed-off-by: Peter Foley <pefoley2@verizon.net>
> ---
>  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-kbuild" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] kbuild: mark unicore32 header export as broken
  2011-04-26  6:48 ` Arnaud Lacombe
@ 2011-04-26 17:07   ` Américo Wang
  2011-04-26 21:04     ` Peter Foley
  2011-04-26 20:36   ` Peter Foley
  1 sibling, 1 reply; 6+ messages in thread
From: Américo Wang @ 2011-04-26 17:07 UTC (permalink / raw)
  To: Arnaud Lacombe; +Cc: pefoley2, linux-kernel, linux-kbuild, mmarek

On Tue, Apr 26, 2011 at 2:48 PM, Arnaud Lacombe <lacombar@gmail.com> wrote:
> Hi,
>
> On Sun, Apr 24, 2011 at 7:15 PM, Peter Foley <pefoley2@verizon.net> 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.

+1

If you see errors when install kernel headers on unicore32, fix them instead
of marking it as broken.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] kbuild: mark unicore32 header export as broken
  2011-04-26  6:48 ` Arnaud Lacombe
  2011-04-26 17:07   ` Américo Wang
@ 2011-04-26 20:36   ` Peter Foley
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Foley @ 2011-04-26 20:36 UTC (permalink / raw)
  To: Arnaud Lacombe; +Cc: linux-kernel, linux-kbuild, mmarek, gxt

On 4/26/2011 2:48 AM, Arnaud Lacombe wrote:
> Hi,
> 
> On Sun, Apr 24, 2011 at 7:15 PM, Peter Foley <pefoley2@verizon.net> 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@verizon.net>
---
 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 

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] kbuild: mark unicore32 header export as broken
  2011-04-26 17:07   ` Américo Wang
@ 2011-04-26 21:04     ` Peter Foley
  2011-04-27  2:02       ` Guan Xuetao
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Foley @ 2011-04-26 21:04 UTC (permalink / raw)
  To: Américo Wang; +Cc: Arnaud Lacombe, linux-kernel, linux-kbuild, mmarek, gxt

On 4/26/2011 1:07 PM, Américo Wang wrote:
> On Tue, Apr 26, 2011 at 2:48 PM, Arnaud Lacombe <lacombar@gmail.com> wrote:
>> Hi,
>>
>> On Sun, Apr 24, 2011 at 7:15 PM, Peter Foley <pefoley2@verizon.net> 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.
> 
> +1
> 
> If you see errors when install kernel headers on unicore32, fix them instead
> of marking it as broken.

The problem with unicore32 is that it generates various stub headers at compile time in include/generated/asm.
I believe the unicore32 maintainer is already aware of headers_install not working (see https://lkml.org/lkml/2011/1/8/11).
I'm adding him to the CC list on this email. 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [PATCH] kbuild: mark unicore32 header export as broken
  2011-04-26 21:04     ` Peter Foley
@ 2011-04-27  2:02       ` Guan Xuetao
  0 siblings, 0 replies; 6+ messages in thread
From: Guan Xuetao @ 2011-04-27  2:02 UTC (permalink / raw)
  To: pefoley2, 'Américo Wang', Sam Ravnborg
  Cc: 'Arnaud Lacombe', linux-kernel, linux-kbuild, mmarek



> -----Original Message-----
> From: Peter Foley [mailto:pefoley2@verizon.net]
> Sent: Wednesday, April 27, 2011 5:04 AM
> To: Américo Wang
> Cc: Arnaud Lacombe; linux-kernel@vger.kernel.org; linux-kbuild@vger.kernel.org; mmarek@suse.cz; gxt@mprc.pku.edu.cn
> Subject: Re: [PATCH] kbuild: mark unicore32 header export as broken
> 
> On 4/26/2011 1:07 PM, Américo Wang wrote:
> > On Tue, Apr 26, 2011 at 2:48 PM, Arnaud Lacombe <lacombar@gmail.com> wrote:
> >> Hi,
> >>
> >> On Sun, Apr 24, 2011 at 7:15 PM, Peter Foley <pefoley2@verizon.net> 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.
> >
> > +1
> >
> > If you see errors when install kernel headers on unicore32, fix them instead
> > of marking it as broken.
> 
> The problem with unicore32 is that it generates various stub headers at compile time in include/generated/asm.
> I believe the unicore32 maintainer is already aware of headers_install not working (see https://lkml.org/lkml/2011/1/8/11).
Yes, thanks.
I am waiting for the generic-y patch by Sam. (also CC to Sam)
Sorry to broke the rule of headers_install_all.

Thanks Peter. The patch not applied since I do need headers_install.

Thanks & Regards,

Guan Xuetao


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-04-27  2:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-24 23:15 [PATCH] kbuild: mark unicore32 header export as broken Peter Foley
2011-04-26  6:48 ` Arnaud Lacombe
2011-04-26 17:07   ` Américo Wang
2011-04-26 21:04     ` Peter Foley
2011-04-27  2:02       ` Guan Xuetao
2011-04-26 20:36   ` Peter Foley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).