mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
yocto-bsp: add some useful constants
Some constants used by the templating engine. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
This commit is contained in:
parent
095c80b2be
commit
c01dec8819
47
scripts/lib/bsp/tags.py
Normal file
47
scripts/lib/bsp/tags.py
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
# ex:ts=4:sw=4:sts=4:et
|
||||||
|
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||||
|
#
|
||||||
|
# Copyright (c) 2012, Intel Corporation.
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License version 2 as
|
||||||
|
# published by the Free Software Foundation.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License along
|
||||||
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
#
|
||||||
|
# DESCRIPTION
|
||||||
|
# This module provides a place to define common constants for the
|
||||||
|
# Yocto BSP Tools.
|
||||||
|
#
|
||||||
|
# AUTHORS
|
||||||
|
# Tom Zanussi <tom.zanussi (at] intel.com>
|
||||||
|
#
|
||||||
|
|
||||||
|
OPEN_TAG = "{{"
|
||||||
|
CLOSE_TAG = "}}"
|
||||||
|
ASSIGN_TAG = "{{="
|
||||||
|
INPUT_TAG = "input"
|
||||||
|
IF_TAG = "if"
|
||||||
|
|
||||||
|
INDENT_STR = " "
|
||||||
|
|
||||||
|
BLANKLINE_STR = "of.write(\"\\n\")"
|
||||||
|
NORMAL_START = "of.write"
|
||||||
|
OPEN_START = "of = open"
|
||||||
|
|
||||||
|
INPUT_TYPE_PROPERTY = "type"
|
||||||
|
|
||||||
|
SRC_URI_FILE = "file://"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user