diff options
Diffstat (limited to 'meta/classes/siteconfig.bbclass')
-rw-r--r-- | meta/classes/siteconfig.bbclass | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/classes/siteconfig.bbclass b/meta/classes/siteconfig.bbclass index bb491d2994..0cfa5a6834 100644 --- a/meta/classes/siteconfig.bbclass +++ b/meta/classes/siteconfig.bbclass | |||
@@ -1,13 +1,13 @@ | |||
1 | python siteconfig_do_siteconfig () { | 1 | python siteconfig_do_siteconfig () { |
2 | shared_state = sstate_state_fromvars(d) | 2 | shared_state = sstate_state_fromvars(d) |
3 | if shared_state['task'] != 'populate_sysroot': | 3 | if shared_state['task'] != 'populate_sysroot': |
4 | return | 4 | return |
5 | if not os.path.isdir(os.path.join(d.getVar('FILE_DIRNAME'), 'site_config')): | 5 | if not os.path.isdir(os.path.join(d.getVar('FILE_DIRNAME'), 'site_config')): |
6 | bb.debug(1, "No site_config directory, skipping do_siteconfig") | 6 | bb.debug(1, "No site_config directory, skipping do_siteconfig") |
7 | return | 7 | return |
8 | sstate_install(shared_state, d) | 8 | sstate_install(shared_state, d) |
9 | bb.build.exec_func('do_siteconfig_gencache', d) | 9 | bb.build.exec_func('do_siteconfig_gencache', d) |
10 | sstate_clean(shared_state, d) | 10 | sstate_clean(shared_state, d) |
11 | } | 11 | } |
12 | 12 | ||
13 | EXTRASITECONFIG ?= "" | 13 | EXTRASITECONFIG ?= "" |