|
|
@ -35,7 +35,9 @@ main_lx_header() { |
|
|
|
rm -rf $root/$prefix/include/{asm,asm-generic,linux,asm-sparc,asm-sparc64} |
|
|
|
mkdir -p $root/$prefix/include |
|
|
|
if [ $arch != sparc ] ; then |
|
|
|
cp -rLv include/{asm,asm-generic,linux} $root/$prefix/include |
|
|
|
mkdir -p $root/$prefix/include/asm |
|
|
|
cp -rv include/asm/* $root/$prefix/include/asm/ |
|
|
|
cp -rv include/{asm-generic,linux} $root/$prefix/include/ |
|
|
|
else |
|
|
|
# we can only generate this files when we have a cross compiler |
|
|
|
# which is stage 1 and above ... |
|
|
@ -47,7 +49,7 @@ main_lx_header() { |
|
|
|
arch/sparc64/kernel/Makefile check_asm |
|
|
|
fi |
|
|
|
|
|
|
|
cp -rLv include/{asm-{sparc{,64},generic},linux} $root/$prefix/include |
|
|
|
cp -rv include/{asm-{sparc{,64},generic},linux} $root/$prefix/include/ |
|
|
|
cp -v $base/package/base/linux24-header/generate-asm . |
|
|
|
chmod +x ./generate-asm |
|
|
|
./generate-asm $root/$prefix/include |
|
|
|