diff options
author | Richard Purdie <richard@openedhand.com> | 2008-05-29 09:28:36 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-05-29 09:28:36 +0000 |
commit | 9e6cfe222510a561d02c883a82a4f52551bcb051 (patch) | |
tree | c0f09a2868f7677bac2b639c9c889f62f3b28b61 /meta | |
parent | 6a86b13028b8aaf8a9d6f68f9ee683658fe42fa2 (diff) | |
download | openembedded-core-9e6cfe222510a561d02c883a82a4f52551bcb051.tar.gz openembedded-core-9e6cfe222510a561d02c883a82a4f52551bcb051.tar.bz2 openembedded-core-9e6cfe222510a561d02c883a82a4f52551bcb051.zip |
base.bbclass: Disable do_mrproper - it doesn't do anything sane/useful
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4563 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-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() { """rebuild a package""" } -addtask mrproper -do_mrproper[dirs] = "${TOPDIR}" -do_mrproper[nostamp] = "1" -python base_do_mrproper() { - """clear downloaded sources, build and temp directories""" - dir = bb.data.expand("${DL_DIR}", d) - if dir == '/': bb.build.FuncFailed("wrong DATADIR") - bb.debug(2, "removing " + dir) - os.system('rm -rf ' + dir) - bb.build.exec_func('do_clean', d) -} +#addtask mrproper +#do_mrproper[dirs] = "${TOPDIR}" +#do_mrproper[nostamp] = "1" +#python base_do_mrproper() { +# """clear downloaded sources, build and temp directories""" +# dir = bb.data.expand("${DL_DIR}", d) +# if dir == '/': bb.build.FuncFailed("wrong DATADIR") +# bb.debug(2, "removing " + dir) +# os.system('rm -rf ' + dir) +# bb.build.exec_func('do_clean', d) +#} SCENEFUNCS += "base_scenefunction" @@ -1057,7 +1057,7 @@ inherit patch # Move to autotools.bbclass? inherit siteinfo -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 +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 MIRRORS[func] = "0" MIRRORS () { |