diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-05-20 12:58:25 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-05-20 12:58:25 +0100 |
commit | e30c5a29d27f424bb2ec8033bb8337d6ce54251c (patch) | |
tree | 1737d38b6c98448b1100d6f96c6d5b053bffb075 /meta/classes | |
parent | 7a4f1adcbca4acb5c5263ca351cfd960f1a21372 (diff) | |
download | poky-e30c5a29d27f424bb2ec8033bb8337d6ce54251c.tar.gz |
kernel.bbclass: match x86 header installation to other architectures
The header installation for x86 was slightly different as to that employed
for other architectures, change them to match for consistency.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 6963184881..966b9940c3 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -126,8 +126,9 @@ kernel_do_install() { | |||
126 | 126 | ||
127 | # Check for arch/x86 on i386 | 127 | # Check for arch/x86 on i386 |
128 | elif [ -d arch/x86/include/asm/ ]; then | 128 | elif [ -d arch/x86/include/asm/ ]; then |
129 | mkdir -p $kerneldir/include/asm-x86/ | 129 | if [ -e include/asm ] ; then |
130 | cp -fR arch/x86/include/asm/* $kerneldir/include/asm-x86/ | 130 | cp -fR arch/x86/include/asm/* $kerneldir/include/$ASMDIR/ |
131 | fi | ||
131 | install -d $kerneldir/arch/x86/include | 132 | install -d $kerneldir/arch/x86/include |
132 | cp -fR arch/x86/* $kerneldir/arch/x86/ | 133 | cp -fR arch/x86/* $kerneldir/arch/x86/ |
133 | fi | 134 | fi |