Koen Kooi : kernel.bbclass: prepare for 2.6. 33 header move and simplify logic a bit
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 19 lines · git version control
kernel.bbclass: prepare for 2.6.33 header move and simplify logic a bit
---
classes/kernel.bbclass | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-)classes/kernel.bbclass +0
-4@@ -127,16 +127,7 @@ kernel_do_stage() { mkdir -p ${STAGING_KERNEL_DIR}/include/asm-generic cp -fR include/asm-generic/* ${STAGING_KERNEL_DIR}/include/asm-generic/ - mkdir -p ${STAGING_KERNEL_DIR}/include/linux - cp -fR include/linux/* ${STAGING_KERNEL_DIR}/include/linux/ - - mkdir -p ${STAGING_KERNEL_DIR}/include/net
classes/kernel.bbclass kernel_do_stage() { · line 133
Quoted 10 lines
classes/kernel.bbclass +1
-6- cp -fR include/net/* ${STAGING_KERNEL_DIR}/include/net/ - - mkdir -p ${STAGING_KERNEL_DIR}/include/pcmcia - cp -fR include/pcmcia/* ${STAGING_KERNEL_DIR}/include/pcmcia/ - - for entry in drivers/crypto drivers/media include/media include/acpi include/sound include/video include/scsi include/trace; do + for entry in drivers/crypto drivers/media include/generated include/linux include/net include/pcmcia include/media include/acpi include/sound include/video include/scsi include/trace; do if [ -d $entry ]; then mkdir -p ${STAGING_KERNEL_DIR}/$entry cp -fR $entry/* ${STAGING_KERNEL_DIR}/$entry/
Today I noticed that klibc is looking for some asm headers like asm/signal.h only in asm directory, but if there was only 2.6.33+ kernel built in staging, then there is no asm directory at all only ie asm-generic.
Where this should be fixed? Created asm link ie here in kernel.bbclass or in klibc recipe (maybe newer klibc already looks also for asm-generic directory)..
Thanks
Regards,
Signature · 3 lines
uin:136542059 jid:[email protected] Jansa Martin sip:[email protected] JaMa
Quoted 8 lines
Today I noticed that klibc is looking for some asm headers like
asm/signal.honly in asm directory, but if there was only 2.6.33+ kernel built in staging, then there is no asm directory at all only ie asm-generic.Where this should be fixed? Created asm link ie here in kernel.bbclass or in klibc recipe (maybe newer klibc already looks also for asm-generic directory)..
Still awaiting the klibc-1.5.16 release, I'll try to commit
[klibc] use headers_install to install headers
http://git.kernel.org/?p=libs/klibc/klibc.git
I'll just need some time to test against 2.6.2x and 2.6.3x kernels.
Andrea