package.bbclass: Add a shortcut exit from the mkdir function
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Jan 2013 13:47:17 +0000 (13:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Feb 2013 15:54:01 +0000 (15:54 +0000)
commit8331dc341ffb012f75e522fb2153ab2217542dae
treea9d12efb5cb1a4c2349573619d977f26dfd2771b
parentaf1dfe1743149cd11e2ff40354f087cbd5619fc9
package.bbclass: Add a shortcut exit from the mkdir function

The mkdir function iterates over strings with many different operations,
even if ultimately the target already exists. This adds a check to the start
of the function so we don't waste time when the target already exists.

(From OE-Core rev: 06e188e673313f1eb9ae7d85ae64467c8d2a94b3)

(From OE-Core rev: 9509627e06ab4cf18c5bbf3f405ecf19a9f40287)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass