mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 21:43:11 +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:
|
modules.clean:
|
||||||
for dir in $(module_dirs) \
|
for dir in $(module_dirs) \
|
||||||
; do \
|
; do \
|
||||||
$(MAKE) -C "build/$$dir" clean ; \
|
$(MAKE) -C "build/${CONFIG_TARGET_ARCH}/$$dir" clean ; \
|
||||||
rm "build/$$dir/.configured" ; \
|
rm -f "build/${CONFIG_TARGET_ARCH}/$$dir/.configured" ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
# Inject a GPG key into the image - this is most useful when testing in qemu,
|
# Inject a GPG key into the image - this is most useful when testing in qemu,
|
||||||
@ -631,7 +631,7 @@ real.clean:
|
|||||||
$(kernel_headers) \
|
$(kernel_headers) \
|
||||||
; do \
|
; do \
|
||||||
if [ ! -z "$$dir" ]; then \
|
if [ ! -z "$$dir" ]; then \
|
||||||
rm -rf "build/$$dir"; \
|
rm -rf "build/${CONFIG_TARGET_ARCH}/$$dir"; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
cd install && rm -rf -- *
|
cd install && rm -rf -- *
|
||||||
|
Loading…
Reference in New Issue
Block a user