aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-02-23 23:24:31 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-02-23 23:24:31 +0000
commit0697bf5fd51840ed192f711e14b9b39f6f17c244 (patch)
treef57c36233808b3555fb785b6cec61ca6bd9a2945 /bin
parent48e2aa0ae3c39ec546a6c8fc8a2a661d8f0ca4d0 (diff)
downloadbitbake-0697bf5fd51840ed192f711e14b9b39f6f17c244.tar.gz
bbimage: Update to reflect recent core changes
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bbimage5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/bbimage b/bin/bbimage
index fdc417617..96b7dca32 100755
--- a/bin/bbimage
+++ b/bin/bbimage
@@ -79,6 +79,11 @@ if cfg_bb is None:
fatal("Unable to open/parse %s" % os.path.join('conf', 'bitbake.conf'))
usage(1)
+# Handle any INHERITs and inherit the base class
+inherits = ["base"] + (bb.data.getVar('INHERIT', cfg_bb, True ) or "").split()
+for inherit in inherits:
+ cfg_bb = bb.parse.handle(os.path.join('classes', '%s.bbclass' % inherit), cfg_bb, True )
+
rootfs = None
extra_files = []