fix ./build-qemu --clean

Was failing with:

```
TypeError: clean_pre() takes 1 positional argument but 2 were given
```
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2021-01-04 00:00:01 +00:00
parent 00f29e6441
commit cf371fed13

View File

@@ -1997,7 +1997,7 @@ after configure, e.g. SCons. Usually contains specific targets or other build fl
)
return ret
def clean_pre(self):
def clean_pre(self, build_dir):
pass
def clean(self):
@@ -2007,7 +2007,7 @@ after configure, e.g. SCons. Usually contains specific targets or other build fl
self.sh.rmrf(build_dir)
self.clean_post(build_dir)
def clean_post(self):
def clean_post(self, build_dir):
pass
def build(self):