summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStelios Koroneos <skoroneos@digital-opsis.com>2007-02-27 13:52:31 +0000
committerStelios Koroneos <skoroneos@digital-opsis.com>2007-02-27 13:52:31 +0000
commite3ee858755e64a20dac592cfa2214918b933aff0 (patch)
tree5966ac019f3f2ef2b3652c147131401461f6fd0e
parentb58b55c35779f53b39ee734fc6e71b397588dc59 (diff)
packages/linux/linux-dht-walnut_2.6.20.bb: Copy additional kernel headers required by externel modules
-rw-r--r--packages/linux/linux-dht-walnut_2.6.20.bb35
1 files changed, 15 insertions, 20 deletions
diff --git a/packages/linux/linux-dht-walnut_2.6.20.bb b/packages/linux/linux-dht-walnut_2.6.20.bb
index 3eab6785d2..4a93954dfe 100644
--- a/packages/linux/linux-dht-walnut_2.6.20.bb
+++ b/packages/linux/linux-dht-walnut_2.6.20.bb
@@ -1,7 +1,7 @@
SECTION = "kernel"
DESCRIPTION = "Linux kernel for DHT-Walnut (ppc) machine"
LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
DEPENDS = "u-boot"
KERNEL_CCSUFFIX = "-3.4.4"
@@ -29,25 +29,20 @@ do_configure_prepend() {
install -m 0644 ${WORKDIR}/dht-walnut_defconfig ${S}/.config
}
-#not sure if we still need this with 2.6.20
-#do_stage_append () {
-#need ppc platforms includes + friends in order for external kernel modules to compile
-
-# install -d ${STAGING_KERNEL_DIR}/arch/ppc/platforms
-# install -m 0755 arch/ppc/platforms/*.h ${STAGING_KERNEL_DIR}/arch/ppc/platforms
-#
-# install -d ${STAGING_KERNEL_DIR}/arch/ppc/platforms/4xx
-# install -m 0755 arch/ppc/platforms/4xx/*.h ${STAGING_KERNEL_DIR}/arch/ppc/platforms/4xx
-#
-# install -d ${STAGING_KERNEL_DIR}/arch/ppc/platforms/83xx
-# install -m 0755 arch/ppc/platforms/83xx/*.h ${STAGING_KERNEL_DIR}/arch/ppc/platforms/83xx
-#
-# install -d ${STAGING_KERNEL_DIR}/arch/ppc/platforms/85xx
-# install -m 0755 arch/ppc/platforms/85xx/*.h ${STAGING_KERNEL_DIR}/arch/ppc/platforms/85xx
-#
-# install -d ${STAGING_KERNEL_DIR}/include/asm-m68k
-# install -m 0755 include/asm-m68k/*.h ${STAGING_KERNEL_DIR}/include/asm-m68k
-#}
+
+do_stage_append () {
+#need ppc platforms includes + friends in order for external kernel modules to compile as headers as still split
+
+ install -d ${STAGING_KERNEL_DIR}/arch/
+ cp -a arch/ppc ${STAGING_KERNEL_DIR}/arch/
+ cp -a arch/powerpc ${STAGING_KERNEL_DIR}/arch/
+
+ cp -a include/asm-powerpc ${STAGING_KERNEL_DIR}/include/
+ cp -a include/asm-ppc ${STAGING_KERNEL_DIR}/include/
+}
+
+
+
do_install_append () {