diff options
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/bin/bbimage | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/bin/bbimage b/bitbake/bin/bbimage index fdc417617b..96b7dca323 100755 --- a/bitbake/bin/bbimage +++ b/bitbake/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 = [] |