diff options
| -rw-r--r-- | meta/classes/base.bbclass | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 34f9c181c4..17935fe9ad 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
| @@ -471,17 +471,17 @@ python base_do_rebuild() { | |||
| 471 | """rebuild a package""" | 471 | """rebuild a package""" |
| 472 | } | 472 | } |
| 473 | 473 | ||
| 474 | addtask mrproper | 474 | #addtask mrproper |
| 475 | do_mrproper[dirs] = "${TOPDIR}" | 475 | #do_mrproper[dirs] = "${TOPDIR}" |
| 476 | do_mrproper[nostamp] = "1" | 476 | #do_mrproper[nostamp] = "1" |
| 477 | python base_do_mrproper() { | 477 | #python base_do_mrproper() { |
| 478 | """clear downloaded sources, build and temp directories""" | 478 | # """clear downloaded sources, build and temp directories""" |
| 479 | dir = bb.data.expand("${DL_DIR}", d) | 479 | # dir = bb.data.expand("${DL_DIR}", d) |
| 480 | if dir == '/': bb.build.FuncFailed("wrong DATADIR") | 480 | # if dir == '/': bb.build.FuncFailed("wrong DATADIR") |
| 481 | bb.debug(2, "removing " + dir) | 481 | # bb.debug(2, "removing " + dir) |
| 482 | os.system('rm -rf ' + dir) | 482 | # os.system('rm -rf ' + dir) |
| 483 | bb.build.exec_func('do_clean', d) | 483 | # bb.build.exec_func('do_clean', d) |
| 484 | } | 484 | #} |
| 485 | 485 | ||
| 486 | SCENEFUNCS += "base_scenefunction" | 486 | SCENEFUNCS += "base_scenefunction" |
| 487 | 487 | ||
| @@ -1057,7 +1057,7 @@ inherit patch | |||
| 1057 | # Move to autotools.bbclass? | 1057 | # Move to autotools.bbclass? |
| 1058 | inherit siteinfo | 1058 | inherit siteinfo |
| 1059 | 1059 | ||
| 1060 | EXPORT_FUNCTIONS do_setscene do_clean do_mrproper do_fetch do_unpack do_configure do_compile do_install do_package do_populate_pkgs do_stage do_rebuild do_fetchall | 1060 | EXPORT_FUNCTIONS do_setscene do_clean do_fetch do_unpack do_configure do_compile do_install do_package do_populate_pkgs do_stage do_rebuild do_fetchall |
| 1061 | 1061 | ||
| 1062 | MIRRORS[func] = "0" | 1062 | MIRRORS[func] = "0" |
| 1063 | MIRRORS () { | 1063 | MIRRORS () { |
