From: "H. Peter Anvin" <hpa@zytor.com>
To: Michal Marek <mmarek@suse.cz>
Cc: Sam Ravnborg <sam@ravnborg.org>,
linux-kbuild@vger.kernel.org,
David Woodhouse <dwmw2@infradead.org>
Subject: Re: Generating unistd_*.h
Date: Thu, 03 Nov 2011 17:54:51 -0700 [thread overview]
Message-ID: <4EB337DB.4010903@zytor.com> (raw)
In-Reply-To: <4E5E6164.8050908@zytor.com>
On 08/31/2011 09:29 AM, H. Peter Anvin wrote:
> On 08/31/2011 07:01 AM, Michal Marek wrote:
>>>>
>>>> For reference, putting the following in arch/x86/include/asm/Kbuild does
>>>> *not* work, because $(objtree)/arch/x86/include/asm doesn't exist, and
>>>> so Kbuild generates an invalid path:
>>>>
>>>> objhdr-y += ../generated/asm/unistd_32.h
>>>> objhdr-y += ../generated/asm/unistd_64.h
>>>
>>> Similarly, overriding obj in the same file does not work, because
>>> scripts/Makefile.headersinst uses $(srctree)/$(obj) not
>>> $(srctree)/$(src) ... is that normal/expected?
>>
>> Can you either post a patch or a link to a git tree with your current
>> status?
>>
>
> git://git.zytor.com/users/hpa/kernel/autogen.git
>
> Patch attached.
>
> -hpa
OK, trying to crawl back out of my exile into kernel.org cleanup land...
this problem still remains!
-hpa
prev parent reply other threads:[~2011-11-04 1:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-27 0:20 Generating unistd_*.h H. Peter Anvin
2011-08-27 10:18 ` Sam Ravnborg
2011-08-27 11:48 ` H. Peter Anvin
2011-08-30 20:16 ` H. Peter Anvin
2011-08-30 21:03 ` H. Peter Anvin
2011-08-30 21:12 ` H. Peter Anvin
2011-08-31 14:01 ` Michal Marek
2011-08-31 16:29 ` H. Peter Anvin
2011-11-04 0:54 ` H. Peter Anvin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EB337DB.4010903@zytor.com \
--to=hpa@zytor.com \
--cc=dwmw2@infradead.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=mmarek@suse.cz \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).