mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
Makefile: adapt cleaning targets for arch directory
This commit is contained in:
parent
bc148f1341
commit
3ea82ec31e
6
Makefile
6
Makefile
@ -609,8 +609,8 @@ echo_modules:
|
||||
modules.clean:
|
||||
for dir in $(module_dirs) \
|
||||
; do \
|
||||
$(MAKE) -C "build/$$dir" clean ; \
|
||||
rm "build/$$dir/.configured" ; \
|
||||
$(MAKE) -C "build/${CONFIG_TARGET_ARCH}/$$dir" clean ; \
|
||||
rm -f "build/${CONFIG_TARGET_ARCH}/$$dir/.configured" ; \
|
||||
done
|
||||
|
||||
# Inject a GPG key into the image - this is most useful when testing in qemu,
|
||||
@ -631,7 +631,7 @@ real.clean:
|
||||
$(kernel_headers) \
|
||||
; do \
|
||||
if [ ! -z "$$dir" ]; then \
|
||||
rm -rf "build/$$dir"; \
|
||||
rm -rf "build/${CONFIG_TARGET_ARCH}/$$dir"; \
|
||||
fi; \
|
||||
done
|
||||
cd install && rm -rf -- *
|
||||
|
Loading…
Reference in New Issue
Block a user