2024-09-09 08:52:07 +00:00
|
|
|
# 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}"
|
|
|
|
CVSDIR = "${DL_DIR}/cvs"
|
|
|
|
DEPENDS = ""
|
|
|
|
DEPLOY_DIR = "${TMPDIR}/deploy"
|
|
|
|
DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images"
|
|
|
|
DL_DIR = "${TMPDIR}/downloads"
|
2024-09-09 08:57:42 +00:00
|
|
|
FILESDIR = "${@bb.utils.which(d.getVar('FILESPATH', True), '.')}"
|
2024-09-09 08:52:07 +00:00
|
|
|
FILESPATH = "${FILE_DIRNAME}/${PF}:${FILE_DIRNAME}/${P}:${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/files:${FILE_DIRNAME}"
|
2024-09-09 08:57:42 +00:00
|
|
|
FILE_DIRNAME = "${@os.path.dirname(d.getVar('FILE'))}"
|
2024-09-09 08:52:07 +00:00
|
|
|
GITDIR = "${DL_DIR}/git"
|
|
|
|
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}"
|
2024-09-09 08:57:42 +00:00
|
|
|
PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[0] or 'defaultpkgname'}"
|
|
|
|
PR = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[2] or 'r0'}"
|
2024-09-09 08:52:07 +00:00
|
|
|
PROVIDES = ""
|
2024-09-09 08:57:42 +00:00
|
|
|
PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[1] or '1.0'}"
|
2024-09-09 08:52:07 +00:00
|
|
|
S = "${WORKDIR}/${P}"
|
|
|
|
SRC_URI = "file://${FILE}"
|
|
|
|
STAMP = "${TMPDIR}/stamps/${PF}"
|
|
|
|
SVNDIR = "${DL_DIR}/svn"
|
|
|
|
T = "${WORKDIR}/temp"
|
|
|
|
TARGET_ARCH = "${BUILD_ARCH}"
|
|
|
|
TMPDIR = "${TOPDIR}/tmp"
|
|
|
|
WORKDIR = "${TMPDIR}/work/${PF}"
|
|
|
|
PERSISTENT_DIR = "${TMPDIR}/cache"
|