bitbake.conf 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Copyright (C) 2003 Chris Larson
  2. #
  3. # Permission is hereby granted, free of charge, to any person obtaining a
  4. # copy of this software and associated documentation files (the "Software"),
  5. # to deal in the Software without restriction, including without limitation
  6. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  7. # and/or sell copies of the Software, and to permit persons to whom the
  8. # Software is furnished to do so, subject to the following conditions:
  9. #
  10. # The above copyright notice and this permission notice shall be included
  11. # in all copies or substantial portions of the Software.
  12. #
  13. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  16. # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
  17. # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  18. # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  19. # OTHER DEALINGS IN THE SOFTWARE.
  20. B = "${S}"
  21. DEPENDS = ""
  22. DEPLOY_DIR = "${TMPDIR}/deploy"
  23. DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images"
  24. DL_DIR = "${TMPDIR}/downloads"
  25. FILESPATH = "${FILE_DIRNAME}/${PF}:${FILE_DIRNAME}/${P}:${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/files:${FILE_DIRNAME}"
  26. FILE_DIRNAME = "${@os.path.dirname(d.getVar('FILE', False))}"
  27. IMAGE_CMD = "_NO_DEFINED_IMAGE_TYPES_"
  28. IMAGE_ROOTFS = "${TMPDIR}/rootfs"
  29. OVERRIDES = "local:${MACHINE}:${TARGET_OS}:${TARGET_ARCH}"
  30. P = "${PN}-${PV}"
  31. PERSISTENT_DIR = "${TMPDIR}/cache"
  32. PF = "${PN}-${PV}-${PR}"
  33. PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
  34. PR = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[2] or 'r0'}"
  35. PROVIDES = ""
  36. PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}"
  37. S = "${WORKDIR}/${P}"
  38. SRC_URI = "file://${FILE}"
  39. STAMP = "${TMPDIR}/stamps/${PF}"
  40. T = "${WORKDIR}/temp"
  41. TARGET_ARCH = "${BUILD_ARCH}"
  42. TMPDIR = "${TOPDIR}/tmp"
  43. WORKDIR = "${TMPDIR}/work/${PF}"
  44. PERSISTENT_DIR = "${TMPDIR}/cache"
  45. GITPKGV = "${@bb.fetch2.get_srcrev(d, 'gitpkgv_revision')}"