Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2013
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. require xenomai.inc
  2.  
  3. DESCRIPTION = "Xenomai RT Supervisor"
  4. HOMEPAGE = "http://www.xenomai.org"
  5. SECTION = "kernel"
  6. PRIORITY = "optional"
  7. LICENSE = "GPL"
  8.  
  9.  
  10. LIC_FILES_CHKSUM = "file://include/COPYING;md5=60faa041c8d4a75ab87e115a9469d94d"
  11.  
  12. SRC_URI = "git://git.xenomai.org/xenomai-head.git;prtocol=git"
  13. SRCREV = "0d0db4dc7e9eb1e7d003b703a3219845b6ecbb14"
  14.  
  15. SRC_URI[md5sum] = "3dca1eca040486f8f165f5e340c7a25e"
  16. SRC_URI[sha256sum] = "93298af1263469098896ac0ce4f38066efe4d7dfbc4e6ed869a435ef0c9a1747"
  17.  
  18.  
  19. #SRCREV_pn-${PN} = "${AUTOREV}"
  20.  
  21. #S = "${WORKDIR}/xenomai-${PV}"
  22. S="${WORKDIR}/git"
  23.  
  24. TARGET_CC_ARCH += "${LDFLAGS}"
  25.  
  26. EXTRA_OECONF += "--include=${includedir}/${BPN} --disable-dox-doc --disable-dbx"
  27.  
  28. do_configure () {
  29. ./configure CFLAGS="-march=armv7-a -mfpu=vfp3" \
  30. LDFLAGS="-march=armv7-a -mfpu=vfp3" \
  31. --disable-dox-doc \
  32. --disable-dbx \
  33. --disable-doc-install \
  34. --enable-debug=no \
  35. --host=arm-linux-gnueabihf
  36. }
  37.  
  38. do_compile() {
  39. oe_runmake
  40. }
  41.  
  42. #do_install() {
  43. # oe_runmake 'DESTDIR=${D}' 'SUDO=/bin/true' install
  44. #}
  45.  
  46. fakeroot do_install() {
  47. oe_runmake "DESTDIR=${D}" install
  48. # rm -rf ${D}/xenomai/share/doc/
  49. }
  50.  
  51.  
  52. #PACKAGES = "${PN}"
  53. #FILES_${PN} = "/dev/* /usr/*"
  54.  
  55. PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}"
  56. # We enumerate all directories excluding /usr/xenomai/share/
  57. # (it contains only documentation which occupies about 33MB)
  58.  
  59. FILES_${PN}-dbg = "\
  60. /usr/src/debug \
  61. /usr/xenomai/bin/.debug \
  62. /usr/xenomai/bin/regression/native/.debug \
  63. /usr/xenomai/bin/regression/posix/.debug \
  64. /usr/xenomai/bin/regression/native+posix/.debug \
  65. /usr/xenomai/lib/.debug \
  66. /usr/xenomai/sbin/.debug"
  67.  
  68. FILES_${PN}-staticdev = "\
  69. /usr/xenomai/lib/*.a"
  70.  
  71. #FILES_${PN}-dev = "\
  72. #/dev/rtp* \
  73. #/dev/rtheap \
  74. #/usr/xenomai/bin \
  75. #/usr/xenomai/include \
  76. #/usr/xenomai/lib \
  77. #/usr/xenomai/sbin"
  78.  
  79.  
  80. FILES_${PN}-dev = "\
  81. /usr/xenomai/lib/*.so"
  82.  
  83. FILES_${PN} = "\
  84. /dev/* \
  85. /usr/*"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement