Advertisement
Guest User

Untitled

a guest
Feb 14th, 2018
422
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. require conf/distro/poky.conf
  2.  
  3. DISTRO = "fod-os"
  4. DISTRO_NAME = "FOD Operating System"
  5. DISTRO_VERSION = "0.2-Beta"
  6.  
  7. SDK_VENDOR = "-fodsdk"
  8.  
  9. MAINTAINER = "Eduardas Meile <[email protected]>"
  10.  
  11. TARGET_VENDOR = "-fod"
  12.  
  13. DISTROOVERRIDES = "fod"
  14.  
  15. # This function changes the default tune for machines which are based on armv7a
  16. # to use common tune value
  17. def arm_tune_handler(d):
  18. features = d.getVar('TUNE_FEATURES', True).split()
  19. if 'armv7a' in features or 'armv7ve' in features:
  20. tune = 'armv7athf'
  21. if 'bigendian' in features:
  22. tune += 'b'
  23. if 'vfpv3' in features:
  24. tune += '-vfpv3'
  25. if 'vfpv3d16' in features:
  26. tune += '-vfpv3d16'
  27. if 'neon' in features:
  28. tune += '-neon'
  29. if 'vfpv4' in features:
  30. tune += '-vfpv4'
  31. else:
  32. tune = d.getVar('DEFAULTTUNE', True)
  33. return tune
  34.  
  35. DEFAULTTUNE_fod := "${@arm_tune_handler(d)}"
  36.  
  37. DISTRO_ARM_INSTRUCTION ?= "thumb"
  38. DISTRO_ARM_INSTRUCTION_armv5 ?= "arm"
  39. ARM_INSTRUCTION_SET_fod ??= "${DISTRO_ARM_INSTRUCTION}"
  40.  
  41. # Use bluez5 as default.
  42. DISTRO_FEATURES_append = " bluez5"
  43.  
  44. # Remove conflicting backends.
  45. DISTRO_FEATURES_remove = "x11 wayland directfb vulkan alsa irda pcmcia nfs zeroconf pci 3g nfc"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement