mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 21:43:11 +00:00
Merge pull request #1401 from daringer/fix-makefile
Makefile: adapt cleaning targets for arch directory
This commit is contained in:
commit
b70547f188
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