mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +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
|
||||
}
|
||||
|
||||
# Remove and re-create ${D} so that is it guaranteed to be empty
|
||||
do_install_prepend() {
|
||||
rm -rf ${D}
|
||||
mkdir -p ${D}
|
||||
}
|
||||
|
||||
addtask listtasks
|
||||
do_listtasks[nostamp] = "1"
|
||||
python do_listtasks() {
|
||||
@@ -695,6 +689,7 @@ python do_populate_staging () {
|
||||
|
||||
addtask install after do_compile
|
||||
do_install[dirs] = "${D} ${S} ${B}"
|
||||
do_install[cleandirs] = "${D}"
|
||||
|
||||
base_do_install() {
|
||||
:
|
||||
|
||||
Reference in New Issue
Block a user