diff options
Diffstat (limited to 'scripts/oe-setup-builddir')
-rwxr-xr-x | scripts/oe-setup-builddir | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir index bf832ee0ca..32bc6580eb 100755 --- a/scripts/oe-setup-builddir +++ b/scripts/oe-setup-builddir | |||
@@ -40,6 +40,12 @@ cd "$BUILDDIR" | |||
40 | 40 | ||
41 | if [ -f "$BUILDDIR/conf/templateconf.cfg" ]; then | 41 | if [ -f "$BUILDDIR/conf/templateconf.cfg" ]; then |
42 | TEMPLATECONF=$(cat "$BUILDDIR/conf/templateconf.cfg") | 42 | TEMPLATECONF=$(cat "$BUILDDIR/conf/templateconf.cfg") |
43 | # The following two are no longer valid; unsetting them will automatically get them replaced | ||
44 | # with correct ones. | ||
45 | if [ $TEMPLATECONF = "meta/conf" -o $TEMPLATECONF = "meta-poky/conf" ]; then | ||
46 | unset TEMPLATECONF | ||
47 | rm $BUILDDIR/conf/templateconf.cfg | ||
48 | fi | ||
43 | fi | 49 | fi |
44 | 50 | ||
45 | . "$OEROOT"/.templateconf | 51 | . "$OEROOT"/.templateconf |