summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/recipetool')
-rw-r--r--scripts/lib/recipetool/create.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index f3428577b9..775be42c11 100644
--- a/scripts/lib/recipetool/create.py
+++ b/scripts/lib/recipetool/create.py
@@ -232,6 +232,8 @@ def create_recipe(args):
232 lines_before.append('LIC_FILES_CHKSUM = "%s"' % ' \\\n '.join(lic_files_chksum)) 232 lines_before.append('LIC_FILES_CHKSUM = "%s"' % ' \\\n '.join(lic_files_chksum))
233 lines_before.append('') 233 lines_before.append('')
234 234
235 classes = []
236
235 # FIXME This is kind of a hack, we probably ought to be using bitbake to do this 237 # FIXME This is kind of a hack, we probably ought to be using bitbake to do this
236 pn = None 238 pn = None
237 pv = None 239 pv = None
@@ -249,6 +251,10 @@ def create_recipe(args):
249 251
250 if args.name: 252 if args.name:
251 pn = args.name 253 pn = args.name
254 if args.name.endswith('-native'):
255 classes.append('native')
256 elif args.name.startswith('nativesdk-'):
257 classes.append('nativesdk')
252 258
253 if pv and pv not in 'git svn hg'.split(): 259 if pv and pv not in 'git svn hg'.split():
254 realpv = pv 260 realpv = pv
@@ -312,7 +318,6 @@ def create_recipe(args):
312 handlers = [item[0] for item in handlers] 318 handlers = [item[0] for item in handlers]
313 319
314 # Apply the handlers 320 # Apply the handlers
315 classes = []
316 handled = [] 321 handled = []
317 322
318 if args.binary: 323 if args.binary: