bitbake.conf 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. CVSDIR = "${DL_DIR}/cvs"
  22. DEPENDS = ""
  23. DEPLOY_DIR = "${TMPDIR}/deploy"
  24. DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images"
  25. DL_DIR = "${TMPDIR}/downloads"
  26. FILESPATH = "${FILE_DIRNAME}/${PF}:${FILE_DIRNAME}/${P}:${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/files:${FILE_DIRNAME}"
  27. FILE_DIRNAME = "${@os.path.dirname(d.getVar('FILE', False))}"
  28. GITDIR = "${DL_DIR}/git"
  29. IMAGE_CMD = "_NO_DEFINED_IMAGE_TYPES_"
  30. IMAGE_ROOTFS = "${TMPDIR}/rootfs"
  31. OVERRIDES = "local:${MACHINE}:${TARGET_OS}:${TARGET_ARCH}"
  32. P = "${PN}-${PV}"
  33. PERSISTENT_DIR = "${TMPDIR}/cache"
  34. PF = "${PN}-${PV}-${PR}"
  35. PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
  36. PR = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[2] or 'r0'}"
  37. PROVIDES = ""
  38. PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}"
  39. S = "${WORKDIR}/${P}"
  40. SRC_URI = "file://${FILE}"
  41. STAMP = "${TMPDIR}/stamps/${PF}"
  42. SVNDIR = "${DL_DIR}/svn"
  43. T = "${WORKDIR}/temp"
  44. TARGET_ARCH = "${BUILD_ARCH}"
  45. TMPDIR = "${TOPDIR}/tmp"
  46. WORKDIR = "${TMPDIR}/work/${PF}"
  47. PERSISTENT_DIR = "${TMPDIR}/cache"
  48. GITPKGV = "${@bb.fetch2.get_srcrev(d, 'gitpkgv_revision')}"