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