summaryrefslogtreecommitdiff
path: root/classes/patch.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/patch.bbclass')
-rw-r--r--classes/patch.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/patch.bbclass b/classes/patch.bbclass
index ea0182484e..c62a8ebd76 100644
--- a/classes/patch.bbclass
+++ b/classes/patch.bbclass
@@ -174,6 +174,9 @@ def patch_init(d):
def __init__(self, dir, d):
PatchSet.__init__(self, dir, d)
self.initialized = False
+ p = os.path.join(self.dir, 'patches')
+ if not os.path.exists(p):
+ os.mkdir(p)
def Clean(self):
try: