Guest User

Untitled

a guest
Dec 1st, 2011
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. SECTION = "kernel"
  2. DESCRIPTION = "TAO3530 Linux kernel"
  3. LICENSE = "GPL"
  4. LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
  5.  
  6. PROVIDES += "virtual/kernel"
  7. DEPENDS += "module-init-tools"
  8.  
  9. KERNEL_OUTPUT = "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}"
  10.  
  11. inherit kernel
  12.  
  13. module_autoload_libertas-sdio = "libertas-sdio"
  14.  
  15. COMPATIBLE_MACHINE = "tao3530"
  16.  
  17. PR = "r1"
  18.  
  19. SRC_URI = "file://TAO-PSP-03000106.tar.bz2 \
  20. file://defconfig"
  21.  
  22. S = "${WORKDIR}"
  23.  
  24. do_configure() {
  25. rm -f ${S}/.config || true
  26. cp ${WORKDIR}/defconfig ${S}/.config
  27. yes '' | oe_runmake oldconfig
  28. }
  29. #applied fix http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstruments/commit/?id=7bcba149f05cc9c5d8ce956ee40e2c6849601470
  30. do_install_prepend() {
  31. mkdir headerstash -p
  32. cp include/linux/bounds.h headerstash/
  33. cp include/asm-arm/asm-offsets.h headerstash/
  34. }
  35.  
  36. do_install_append() {
  37. cp headerstash/bounds.h $kerneldir/include/linux/
  38. cp headerstash/asm-offsets.h $kerneldir/include/asm-arm/asm-offsets.h
  39. rm -rf headerstash/
  40. }
  41.  
Advertisement
Add Comment
Please, Sign In to add comment