summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse/parse_py/BBHandler.py
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-01-08 23:53:01 +0000
committerRichard Purdie <richard@openedhand.com>2007-01-08 23:53:01 +0000
commitf5665d5bfcfb13d01da9e4c7d5046453e80f7baf (patch)
treeb8908549afaf3006bf3763419711090ac999c2a4 /bitbake/lib/bb/parse/parse_py/BBHandler.py
parentaec95de5f7dca2afa3a4a0bdb0d4d553c13f680d (diff)
downloadpoky-f5665d5bfcfb13d01da9e4c7d5046453e80f7baf.tar.gz
bitbake: Sync with upstream.
* File licence headers were sanitised causing most of the diff. * cooker.py was created from bin/bitbake. * cvs fetcher port option was added * The -f force option was fixed to work correctly * Multiple entries in rrecrdeps are now handled correctly (allows adding do_deploy to image depends) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1129 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py/BBHandler.py')
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py36
1 files changed, 20 insertions, 16 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index 42b0369428..2c39316325 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -1,25 +1,29 @@
1#!/usr/bin/env python 1#!/usr/bin/env python
2# ex:ts=4:sw=4:sts=4:et 2# ex:ts=4:sw=4:sts=4:et
3# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- 3# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
4"""class for handling .bb files 4"""
5 class for handling .bb files
5 6
6 Reads a .bb file and obtains its metadata 7 Reads a .bb file and obtains its metadata
7 8
8 Copyright (C) 2003, 2004 Chris Larson 9"""
9 Copyright (C) 2003, 2004 Phil Blundell 10
10 11
11 This program is free software; you can redistribute it and/or modify it under 12# Copyright (C) 2003, 2004 Chris Larson
12 the terms of the GNU General Public License as published by the Free Software 13# Copyright (C) 2003, 2004 Phil Blundell
13 Foundation; either version 2 of the License, or (at your option) any later 14#
14 version. 15# This program is free software; you can redistribute it and/or modify
15 16# it under the terms of the GNU General Public License version 2 as
16 This program is distributed in the hope that it will be useful, but WITHOUT 17# published by the Free Software Foundation.
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 18#
18 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 19# This program is distributed in the hope that it will be useful,
19 20# but WITHOUT ANY WARRANTY; without even the implied warranty of
20 You should have received a copy of the GNU General Public License along with 21# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 this program; if not, write to the Free Software Foundation, Inc., 59 Temple 22# GNU General Public License for more details.
22 Place, Suite 330, Boston, MA 02111-1307 USA.""" 23#
24# You should have received a copy of the GNU General Public License along
25# with this program; if not, write to the Free Software Foundation, Inc.,
26# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 27
24import re, bb, os, sys, time 28import re, bb, os, sys, time
25import bb.fetch, bb.build, bb.utils 29import bb.fetch, bb.build, bb.utils