Re: [PATCH] header install: cosmetic cleanups to kbuild infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2006-06-11 at 14:10 +0200, Sam Ravnborg wrote:
> -headers_install: include/linux/version.h
> +headers_install: prepare 

That breaks cross-export of headers when we don't have a cross-compiler.

I care about this case because it's how we do glibc-kernheaders for
Fedora at the moment -- we build a tarball containing _all_ the headers,
and that tarball is used as source for a separate glibc-kernheaders
package, after reviewing the changes in it.

for a in x86_64 s390 ia64 powerpc sparc64; do
        make ARCH=$a INSTALL_HDR_PATH=/tmp/fish/$a headers_install
done
cd /tmp/fish
mv usr usr.$$
mv x86_64 usr
mv usr/include/asm usr/include/asm-bix86
mv sparc64/include/asm usr/include/asm-bisparc
mv sparc64/include/asm-sparc{,64} usr/include
for a in s390 ia64 powerpc; do
        mv -v $a/include/asm usr/include/asm-$a
        rm -rf $a
done


-- 
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux