Bug#650085: Patch
tags 650085 patch
thanks
With the attached patch, suggested by Bastian Blank, the generated
headers are getting included in headers packages and the OOT modules
can be built again:
jurij@debian:~/tmp$ ls -al /usr/src/linux-headers-3.1.0-1-sparc64*/arch/sparc/include/generated/asm
/usr/src/linux-headers-3.1.0-1-sparc64/arch/sparc/include/generated/asm:
total 24
drwxr-xr-x 2 root root 4096 Nov 27 18:52 .
drwxr-xr-x 3 root root 4096 Nov 27 18:52 ..
-rw-r--r-- 1 root root 31 Nov 27 09:01 div64.h
-rw-r--r-- 1 root root 34 Nov 27 09:01 irq_regs.h
-rw-r--r-- 1 root root 33 Nov 27 09:01 local64.h
-rw-r--r-- 1 root root 31 Nov 27 09:01 local.h
/usr/src/linux-headers-3.1.0-1-sparc64-smp/arch/sparc/include/generated/asm:
total 24
drwxr-xr-x 2 root root 4096 Nov 27 18:16 .
drwxr-xr-x 3 root root 4096 Nov 27 18:16 ..
-rw-r--r-- 1 root root 31 Nov 27 09:01 div64.h
-rw-r--r-- 1 root root 34 Nov 27 09:01 irq_regs.h
-rw-r--r-- 1 root root 33 Nov 27 09:01 local64.h
-rw-r--r-- 1 root root 31 Nov 27 09:01 local.h
jurij@debian:~/tmp$
Best regards,
--
Jurij Smakov jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
diff -aur a/debian/rules.real b/debian/rules.real
--- a/debian/rules.real 2011-11-26 18:33:55.000000000 +0000
+++ b/debian/rules.real 2011-11-26 18:32:51.088008018 +0000
@@ -242,6 +242,7 @@
mkdir -p $(DIR)/arch/$(KERNEL_ARCH)/kernel
cp -a $(SOURCE_DIR)/{.config,.kernel*,Module.symvers,include} $(DIR)
+ cp -a $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/include $(DIR)/arch/$(KERNEL_ARCH)
cp -a $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/kernel/asm-offsets.s $(DIR)/arch/$(KERNEL_ARCH)/kernel
ifneq ($(filter powerpc ppc64,$(ARCH)),)
Reply to: