summaryrefslogtreecommitdiffstats
path: root/meta/classes/rm_work_and_downloads.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/rm_work_and_downloads.bbclass')
-rw-r--r--meta/classes/rm_work_and_downloads.bbclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/classes/rm_work_and_downloads.bbclass b/meta/classes/rm_work_and_downloads.bbclass
index 7c00bea597..2695a3807f 100644
--- a/meta/classes/rm_work_and_downloads.bbclass
+++ b/meta/classes/rm_work_and_downloads.bbclass
@@ -1,8 +1,7 @@
1# Author: Patrick Ohly <patrick.ohly@intel.com> 1# Author: Patrick Ohly <patrick.ohly@intel.com>
2# Copyright: Copyright (C) 2015 Intel Corporation 2# Copyright: Copyright (C) 2015 Intel Corporation
3# 3#
4# This file is licensed under the MIT license, see COPYING.MIT in 4# SPDX-License-Identifier: MIT
5# this source distribution for the terms.
6 5
7# This class is used like rm_work: 6# This class is used like rm_work:
8# INHERIT += "rm_work_and_downloads" 7# INHERIT += "rm_work_and_downloads"
@@ -28,6 +27,6 @@ inherit rm_work
28 27
29# Instead go up one level and remove ourself. 28# Instead go up one level and remove ourself.
30DL_DIR = "${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}/${PN}/downloads" 29DL_DIR = "${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}/${PN}/downloads"
31do_rm_work_append () { 30do_rm_work:append () {
32 rm -rf ${DL_DIR} 31 rm -rf ${DL_DIR}
33} 32}