Skip to contentSkip to conversation

Koen Kooi : kernel.bbclass: prepare for 2.6. 33 header move and simplify logic a bit

oe-commits Martin Jansa 2 participants 2 messages Feb 16, 2010 – Feb 17, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
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
index d4ecf72..3a52a06 100644
@@ -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                         
#2 lore raw
Quoted 8 lines

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)..

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