Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 20th, 2013  |  syntax: None  |  size: 1.16 KB  |  views: 3  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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 = "http://download.gna.org/xenomai/stable/xenomai-${PV}.tar.bz2"
  13.  
  14. TARGET_CC_ARCH += "${LDFLAGS}"
  15.  
  16. EXTRA_OECONF += "--include=${includedir}/${BPN} --disable-dox-doc --disable-dbx"
  17.  
  18. #S = "${WORKDIR}/xenomai-${PV}"
  19.  
  20. do_configure () {
  21.         ./configure CFLAGS="-march=armv7-a -mfpu=vfp3" \
  22.                 LDFLAGS="-march=armv7-a -mfpu=vfp3" \
  23.         --disable-dox-doc \
  24.         --disable-dbx \
  25.                 --disable-doc-install \
  26.                 --enable-debug=no \
  27.         --host=arm-linux-gnueabihf
  28. }
  29.  
  30. do_compile() {
  31.     oe_runmake
  32. }
  33.  
  34. #do_install() {
  35. #    oe_runmake 'DESTDIR=${D}' 'SUDO=/bin/true' install
  36. #}
  37.  
  38. fakeroot do_install() {
  39.     oe_runmake "DESTDIR=${D}" install
  40. #   rm -rf ${D}/xenomai/share/doc/
  41. }
  42.  
  43.  
  44. SRC_URI[md5sum] = "3dca1eca040486f8f165f5e340c7a25e"
  45. SRC_URI[sha256sum] = "93298af1263469098896ac0ce4f38066efe4d7dfbc4e6ed869a435ef0c9a1747"
  46.  
  47. PACKAGES = "${PN}"
  48. FILES_${PN} = "/dev/* /usr/bin/* /usr/lib/* /usr/sbin/* /usr/include/*"
clone this paste RAW Paste Data