mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
base.bbclass: Swicth to use cleandirs flag for install task
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2694 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -374,12 +374,6 @@ oe_machinstall() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Remove and re-create ${D} so that is it guaranteed to be empty
|
|
||||||
do_install_prepend() {
|
|
||||||
rm -rf ${D}
|
|
||||||
mkdir -p ${D}
|
|
||||||
}
|
|
||||||
|
|
||||||
addtask listtasks
|
addtask listtasks
|
||||||
do_listtasks[nostamp] = "1"
|
do_listtasks[nostamp] = "1"
|
||||||
python do_listtasks() {
|
python do_listtasks() {
|
||||||
@@ -695,6 +689,7 @@ python do_populate_staging () {
|
|||||||
|
|
||||||
addtask install after do_compile
|
addtask install after do_compile
|
||||||
do_install[dirs] = "${D} ${S} ${B}"
|
do_install[dirs] = "${D} ${S} ${B}"
|
||||||
|
do_install[cleandirs] = "${D}"
|
||||||
|
|
||||||
base_do_install() {
|
base_do_install() {
|
||||||
:
|
:
|
||||||
|
|||||||
Reference in New Issue
Block a user