Guest User

Untitled

a guest
Jan 12th, 2016
19
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DISTRO = "poky-agl"
  2. MACHINE = "porter"
  3.  
  4. # Commnet out below if want to use QtWebkit
  5. PACKAGECONFIG_remove_pn-qtquick1 = "webkit"
  6.  
  7. # For running GStreamer on wayland (experimental).
  8. #
  9. # Uncoment below if want to use multimedia acceleration on wayland
  10. #
  11. IMAGE_INSTALL_append_porter = " \
  12. gstreamer1.0-plugins-bad-waylandsink \
  13. "
  14.  
  15. # Additional plugins to test multimedia acceleration (experimental)
  16. #
  17. # Uncoment below if want to use multimedia acceleration
  18. #
  19. IMAGE_INSTALL_append_porter = " \
  20. gstreamer1.0-plugins-base-videorate \
  21. "
  22. # gstreamer1.0-plugins-base-videotestsrc \
  23. # gstreamer1.0-plugins-base-audiotestsrc \
  24. # gstreamer1.0-plugins-base-alsa \
  25. # gstreamer1.0-plugins-good-autodetect \
  26. # gstreamer1.0-plugins-good-isomp4 \
  27. # gstreamer1.0-plugins-good-video4linux2 \
  28. # gstreamer1.0-plugins-good-videocrop \
  29. # gstreamer1.0-plugins-bad-asfmux \
  30. # gstreamer1.0-plugins-bad-fbdevsink \
  31. # gstreamer1.0-plugins-bad-faad \
  32. # gstreamer1.0-plugins-bad-videoparsersbad \
  33. # for graphics acceleration
  34. #
  35. # Uncoment below if want to use multimedia acceleration
  36. #
  37. IMAGE_INSTALL_append_porter = " \
  38. libegl libegl-dev libgbm-dev \
  39. "
  40. # gles-kernel-module gles-user-module \
  41. # libdrm-tests \
  42. # libdrm-kms
  43.  
  44. # for multimedia acceleration
  45. #
  46. # Uncoment below if want to use multimedia acceleration
  47. #
  48. IMAGE_INSTALL_append_porter = " \
  49. packagegroup-rcar-gen2-multimedia \
  50. "
  51. # packagegroup-lcb-oss-codecs \
  52. # alsa-utils alsa-utils-config alsa-tools
  53.  
  54. # For Bluetooth hardware support
  55. BT_KERNEL_MODULES = " \
  56. kernel-module-btusb \
  57. kernel-module-bnep \
  58. kernel-module-rfcomm \
  59. kernel-module-rfkill \
  60. "
  61.  
  62. # Distribution-specific runtime components
  63. IMAGE_INSTALL_append = " \
  64. ${@bb.utils.contains("DISTRO_FEATURES", "bluetooth", "${BT_KERNEL_MODULES}", "", d)} \
  65. "
  66.  
  67. # TODO: When booting weston, someone try to load 'libgbm_kms.so' then
  68. # fail to boot. It should be 'libgbm_kms.so.1'.
  69. # Tentatively, it is to install 'libgbm-dev' pkg.
  70. IMAGE_INSTALL_append = "libgbm-dev"
  71.  
  72. LICENSE_FLAGS_WHITELIST = "commercial"
  73.  
  74. # Define the name of multimedia, dtv, graphic test, multimedia-test for bbmask
  75. BB_MULTIMEDIA_KERNEL_MODULE = "fdpm-kernel-module|mmngr-kernel-module|\
  76. mmngrbuf-kernel-module|s3ctl-kernel-module|\
  77. uvcs-kernel-module|vspm-kernel-module"
  78. BB_MULTIMEDIA_USER_MODULE = "fdpm-user-module|mmngr-user-module|\
  79. mmngrbuf-user-module|omx-user-module|\
  80. s3ctl-user-module|vspm-user-module|libmemcpy"
  81. BB_MULTIMEDIA_TEST_MODULE = "fdpm-tp-user-module|mmngr-tp-user-module|\
  82. mmngrbuf-tp-user-module|s3ctl-tp-user-module|\
  83. vspm-tp-user-module"
  84. BB_GST_PLUGINS = "meta-renesas/meta-rcar-gen2/recipes-multimedia/gstreamer"
  85. MULTIMEDIA_BB = "${BB_MULTIMEDIA_KERNEL_MODULE}|${BB_MULTIMEDIA_USER_MODULE}|\
  86. ${BB_MULTIMEDIA_TEST_MODULE}|${BB_GST_PLUGINS}"
  87.  
  88. # Enable Multimedia standard pkg
  89. MACHINE_FEATURES_append = " multimedia"
  90.  
  91. # UnMask the multimedia kernel modules
  92. #BBMASK .= "|${BB_MULTIMEDIA_KERNEL_MODULE}"
  93.  
  94. # UnMask the multimedia user modules
  95. #BBMASK .= "|${BB_MULTIMEDIA_USER_MODULE}"
  96.  
  97. # Include static library in SDK
  98. SDKIMAGE_FEATURES_append = " staticdev-pkgs"
  99.  
  100. # Mask the DTV pkgs
  101. #MACHINE_FEATURES_append = " dtv"
  102. BBMASK = "dtv-module|ssp-module|scu-module"
  103.  
  104. # Enable graphic pkgs
  105. #BBMASK .= "|gles-kernel-module|gles-user-module"
  106.  
  107. # Mask the multimedia-test
  108. BBMASK .= "|${BB_MULTIMEDIA_TEST_MODULE}"
  109.  
  110. # Mask the graphic test
  111. BBMASK .= "|gles-test-module"
  112.  
  113. #DISTRO_FEATURES_append = " mm-test"
  114. #DISTRO_FEATURES_append = " gles-test"
  115.  
  116. # Enable Gfx Pkgs
  117. MACHINE_FEATURES_append = " sgx"
  118. MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
  119.  
  120. # for Wayland/Weston
  121.  
  122. PREFERRED_PROVIDER_virtual/libgles1 = ""
  123. PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module"
  124. PREFERRED_PROVIDER_virtual/egl = "libegl"
  125. PREFERRED_PROVIDER_virtual/libgl = ""
  126. PREFERRED_PROVIDER_virtual/mesa = ""
  127. PREFERRED_PROVIDER_libgbm = "libgbm"
  128. PREFERRED_PROVIDER_libgbm-dev = "libgbm"
  129.  
  130. # Setting for u-boot Wayland
  131. UBOOT_MACHINE = "porter_vin_config"
  132.  
  133. # Addtional Configurations of Optional OMX modules
  134.  
  135. # OMX Media Component H263 Decoder Library
  136. #DISTRO_FEATURES_append = " h263dec_lib"
  137. # OMX Media Component VC-1 Decoder Library
  138. #DISTRO_FEATURES_append = " vc1dec_lib"
  139. # OMX Media Component MPEG-4 Decoder Library
  140. #DISTRO_FEATURES_append = " mpeg4dec_lib"
  141. # VCP3 Driver Adapted for Linux MPEG-2 Decoder Library
  142. #DISTRO_FEATURES_append = " mpeg2dec_lib"
  143. # DivX Decoder Library for Linux
  144. #DISTRO_FEATURES_append = " divxdec_lib"
  145. # Encoder Library for Linux
  146. DISTRO_FEATURES_append = " h264avcenc_lib"
  147.  
  148. # Configurations of Optional Audio Decoders
  149. # ARM 5.1ch aacPlus V2 Decoder for Linux
  150. #DISTRO_FEATURES_append = " aacp2dec_lib"
  151. # ARM MP3 Decoder for Linux
  152. #DISTRO_FEATURES_append = " mp3dec_lib"
  153. # ARM WMA Decoder for Linux
  154. #DISTRO_FEATURES_append = " wmadec_lib"
  155. # ARM 5.1ch Dolby Digital Decoder for Linux
  156. #DISTRO_FEATURES_append = " ddddec_lib"
  157. # ARM ALAC Decoder for Linux
  158. #DISTRO_FEATURES_append = " alacdec_lib"
  159. # ARM FLAC Decoder for Linux
  160. #DISTRO_FEATURES_append = " flacdec_lib"
  161. # ARM AAC-LC Decoder Library Sample for Linux
  162. #DISTRO_FEATURES_append = " aaclcsdec_lib"
  163. # ARM AAC Encoder for Linux
  164. #DISTRO_FEATURES_append = " aacenc_lib"
  165.  
  166. # Configurations of Optional Audio Middlewares
  167. # ARM 5.1ch aacPlus V2 Decode Middleware for Linux
  168. #DISTRO_FEATURES_append = " armaccp2dec_mdw"
  169. # ARM MP3 Decode Middleware for Linux
  170. #DISTRO_FEATURES_append = " mp3dec_mdw"
  171. # ARM WMA Decode Middleware for Linux
  172. #DISTRO_FEATURES_append = " wmadec_mdw"
  173. # ARM 5.1ch Dolby Digital Decode Middleware for Linux
  174. #DISTRO_FEATURES_append = " ddddec_mdw"
  175. # ARM ALAC Decode Middleware for Linux
  176. #DISTRO_FEATURES_append = " alacdec_mdw"
  177. # ARM FLAC Decode Middleware for Linux
  178. #DISTRO_FEATURES_append = " flacdec_mdw"
  179. # ARM AAC Decode Middleware Sample for Linux
  180. #DISTRO_FEATURES_append = " aacsdec_mdw"
  181. # ARM AAC Encode Middleware for Linux
  182. #DISTRO_FEATURES_append = " aacenc_mdw"
  183.  
  184. #
  185. # This file is your local configuration file and is where all local user settings
  186. # are placed. The comments in this file give some guide to the options a new user
  187. # to the system might want to change but pretty much any configuration option can
  188. # be set in this file. More adventurous users can look at local.conf.extended
  189. # which contains other examples of configuration which can be placed in this file
  190. # but new users likely won't need any of them initially.
  191. #
  192. # Lines starting with the '#' character are commented out and in some cases the
  193. # default values are provided as comments to show people example syntax. Enabling
  194. # the option is a question of removing the # character and making any change to the
  195. # variable as required.
  196.  
  197. #
  198. # Machine Selection
  199. #
  200. # You need to select a specific machine to target the build with. There are a selection
  201. # of emulated machines available which can boot and run in the QEMU emulator:
  202. #
  203. #MACHINE ?= "qemuarm"
  204. #MACHINE ?= "qemumips"
  205. #MACHINE ?= "qemuppc"
  206. #MACHINE ?= "qemux86"
  207. #MACHINE ?= "qemux86-64"
  208. #
  209. # There are also the following hardware board target machines included for
  210. # demonstration purposes:
  211. #
  212. #MACHINE ?= "beaglebone"
  213. #MACHINE ?= "genericx86"
  214. #MACHINE ?= "genericx86-64"
  215. #MACHINE ?= "mpc8315e-rdb"
  216. #MACHINE ?= "edgerouter"
  217. #
  218. # This sets the default machine to be qemux86 if no other machine is selected:
  219. MACHINE ??= "qemux86-64"
  220.  
  221. #
  222. # Where to place downloads
  223. #
  224. # During a first build the system will download many different source code tarballs
  225. # from various upstream projects. This can take a while, particularly if your network
  226. # connection is slow. These are all stored in DL_DIR. When wiping and rebuilding you
  227. # can preserve this directory to speed up this part of subsequent builds. This directory
  228. # is safe to share between multiple builds on the same machine too.
  229. #
  230. # The default is a downloads directory under TOPDIR which is the build directory.
  231. #
  232. #DL_DIR ?= "${TOPDIR}/downloads"
  233.  
  234. #
  235. # Where to place shared-state files
  236. #
  237. # BitBake has the capability to accelerate builds based on previously built output.
  238. # This is done using "shared state" files which can be thought of as cache objects
  239. # and this option determines where those files are placed.
  240. #
  241. # You can wipe out TMPDIR leaving this directory intact and the build would regenerate
  242. # from these files if no changes were made to the configuration. If changes were made
  243. # to the configuration, only shared state files where the state was still valid would
  244. # be used (done using checksums).
  245. #
  246. # The default is a sstate-cache directory under TOPDIR.
  247. #
  248. #SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
  249.  
  250. #
  251. # Where to place the build output
  252. #
  253. # This option specifies where the bulk of the building work should be done and
  254. # where BitBake should place its temporary files and output. Keep in mind that
  255. # this includes the extraction and compilation of many applications and the toolchain
  256. # which can use Gigabytes of hard disk space.
  257. #
  258. # The default is a tmp directory under TOPDIR.
  259. #
  260. #TMPDIR = "${TOPDIR}/tmp"
  261.  
  262. #
  263. # Default policy config
  264. #
  265. # The distribution setting controls which policy settings are used as defaults.
  266. # The default value is fine for general Yocto project use, at least initially.
  267. # Ultimately when creating custom policy, people will likely end up subclassing
  268. # these defaults.
  269. #
  270. DISTRO ?= "poky"
  271. # As an example of a subclass there is a "bleeding" edge policy configuration
  272. # where many versions are set to the absolute latest code from the upstream
  273. # source control systems. This is just mentioned here as an example, its not
  274. # useful to most new users.
  275. # DISTRO ?= "poky-bleeding"
  276.  
  277. #
  278. # Package Management configuration
  279. #
  280. # This variable lists which packaging formats to enable. Multiple package backends
  281. # can be enabled at once and the first item listed in the variable will be used
  282. # to generate the root filesystems.
  283. # Options are:
  284. # - 'package_deb' for debian style deb files
  285. # - 'package_ipk' for ipk files are used by opkg (a debian style embedded package manager)
  286. # - 'package_rpm' for rpm style packages
  287. # E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
  288. # We default to rpm:
  289. PACKAGE_CLASSES ?= "package_rpm"
  290.  
  291. #
  292. # SDK/ADT target architecture
  293. #
  294. # This variable specifies the architecture to build SDK/ADT items for and means
  295. # you can build the SDK packages for architectures other than the machine you are
  296. # running the build on (i.e. building i686 packages on an x86_64 host).
  297. # Supported values are i686 and x86_64
  298. #SDKMACHINE ?= "i686"
  299.  
  300. #
  301. # Extra image configuration defaults
  302. #
  303. # The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated
  304. # images. Some of these options are added to certain image types automatically. The
  305. # variable can contain the following options:
  306. # "dbg-pkgs" - add -dbg packages for all installed packages
  307. # (adds symbol information for debugging/profiling)
  308. # "dev-pkgs" - add -dev packages for all installed packages
  309. # (useful if you want to develop against libs in the image)
  310. # "ptest-pkgs" - add -ptest packages for all ptest-enabled packages
  311. # (useful if you want to run the package test suites)
  312. # "tools-sdk" - add development tools (gcc, make, pkgconfig etc.)
  313. # "tools-debug" - add debugging tools (gdb, strace)
  314. # "eclipse-debug" - add Eclipse remote debugging support
  315. # "tools-profile" - add profiling tools (oprofile, exmap, lttng, valgrind)
  316. # "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
  317. # "debug-tweaks" - make an image suitable for development
  318. # e.g. ssh root access has a blank password
  319. # There are other application targets that can be used here too, see
  320. # meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
  321. # We default to enabling the debugging tweaks.
  322. EXTRA_IMAGE_FEATURES = "debug-tweaks eclipse-debug tools-debug tools-profile"
  323.  
  324. #
  325. # Additional image features
  326. #
  327. # The following is a list of additional classes to use when building images which
  328. # enable extra features. Some available options which can be included in this variable
  329. # are:
  330. # - 'buildstats' collect build statistics
  331. # - 'image-mklibs' to reduce shared library files size for an image
  332. # - 'image-prelink' in order to prelink the filesystem image
  333. # - 'image-swab' to perform host system intrusion detection
  334. # NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink
  335. # NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended
  336. USER_CLASSES ?= "buildstats image-mklibs image-prelink"
  337.  
  338. #
  339. # Runtime testing of images
  340. #
  341. # The build system can test booting virtual machine images under qemu (an emulator)
  342. # after any root filesystems are created and run tests against those images. To
  343. # enable this uncomment this line. See classes/testimage(-auto).bbclass for
  344. # further details.
  345. #TEST_IMAGE = "1"
  346. #
  347. # Interactive shell configuration
  348. #
  349. # Under certain circumstances the system may need input from you and to do this it
  350. # can launch an interactive shell. It needs to do this since the build is
  351. # multithreaded and needs to be able to handle the case where more than one parallel
  352. # process may require the user's attention. The default is iterate over the available
  353. # terminal types to find one that works.
  354. #
  355. # Examples of the occasions this may happen are when resolving patches which cannot
  356. # be applied, to use the devshell or the kernel menuconfig
  357. #
  358. # Supported values are auto, gnome, xfce, rxvt, screen, konsole (KDE 3.x only), none
  359. # Note: currently, Konsole support only works for KDE 3.x due to the way
  360. # newer Konsole versions behave
  361. #OE_TERMINAL = "auto"
  362. # By default disable interactive patch resolution (tasks will just fail instead):
  363. PATCHRESOLVE = "noop"
  364.  
  365. #
  366. # Disk Space Monitoring during the build
  367. #
  368. # Monitor the disk space during the build. If there is less that 1GB of space or less
  369. # than 100K inodes in any key build location (TMPDIR, DL_DIR, SSTATE_DIR), gracefully
  370. # shutdown the build. If there is less that 100MB or 1K inodes, perform a hard abort
  371. # of the build. The reason for this is that running completely out of space can corrupt
  372. # files and damages the build in ways which may not be easily recoverable.
  373. BB_DISKMON_DIRS = "\
  374. STOPTASKS,${TMPDIR},1G,100K \
  375. STOPTASKS,${DL_DIR},1G,100K \
  376. STOPTASKS,${SSTATE_DIR},1G,100K \
  377. ABORT,${TMPDIR},100M,1K \
  378. ABORT,${DL_DIR},100M,1K \
  379. ABORT,${SSTATE_DIR},100M,1K"
  380.  
  381. #
  382. # Shared-state files from other locations
  383. #
  384. # As mentioned above, shared state files are prebuilt cache data objects which can
  385. # used to accelerate build time. This variable can be used to configure the system
  386. # to search other mirror locations for these objects before it builds the data itself.
  387. #
  388. # This can be a filesystem directory, or a remote url such as http or ftp. These
  389. # would contain the sstate-cache results from previous builds (possibly from other
  390. # machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the
  391. # cache locations to check for the shared objects.
  392. # NOTE: if the mirror uses the same structure as SSTATE_DIR, you need to add PATH
  393. # at the end as shown in the examples below. This will be substituted with the
  394. # correct path within the directory structure.
  395. #SSTATE_MIRRORS ?= "\
  396. #file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
  397. #file://.* file:///some/local/dir/sstate/PATH"
  398.  
  399.  
  400. #
  401. # Qemu configuration
  402. #
  403. # By default qemu will build with a builtin VNC server where graphical output can be
  404. # seen. The two lines below enable the SDL backend too. This assumes there is a
  405. # libsdl library available on your build system.
  406. PACKAGECONFIG_append_pn-qemu-native = " sdl"
  407. PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
  408. ASSUME_PROVIDED += "libsdl-native"
  409.  
  410. ###############
  411. #
  412. # AGL specifics
  413. #
  414. ###############
  415.  
  416. # AGL includes all kernel modules here for ease-of-use during development.
  417. # Comment this out to be able to select the kernel modules yourself.
  418. IMAGE_INSTALL_append = " kernel-modules"
  419.  
  420. # Likewise as we included all kernel modules by default in the filesystem,
  421. # we do not need a separate tarball stored.
  422. # Comment this out to receive the separate modules tarbal again.
  423. MODULE_TARBALL_DEPLOY ?= "0"
  424.  
  425. ###############
  426. # /END AGL
  427. ###############
  428.  
  429. # CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
  430. # track the version of this file when it was generated. This can safely be ignored if
  431. # this doesn't mean anything to you.
  432. CONF_VERSION = "1"
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×