diff options
author | Steve Sistare <steven.sistare@oracle.com> | 2023-04-19 06:08:20 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-05-18 08:53:51 +0200 |
commit | 6fd87e74a1c56cbe63691fc33de0b616e6efcff3 (patch) | |
tree | 01fe7a2826f44d4f7df76406cb979998ceaa2c1d /tests/qemu-iotests/122.out | |
parent | 9bd634b2f5e2f10fe35d7609eb83f30583f2e15a (diff) | |
download | qemu-6fd87e74a1c56cbe63691fc33de0b616e6efcff3.zip qemu-6fd87e74a1c56cbe63691fc33de0b616e6efcff3.tar.gz qemu-6fd87e74a1c56cbe63691fc33de0b616e6efcff3.tar.bz2 |
make: clean after distclean deletes source files
Run 'make distclean' in a tree, and GNUmakefile is removed.
But, GNUmakefile is where we change directory to build.
Run 'make distclean' or 'make clean' again, and Makefile applies
the clean actions, such as this one, at the top level of the tree.
For example, it removes the .d source files in 'meson/test cases/d/*/*.d'.
find . \( -name '*.so' -o -name '*.dll' -o \
-name '*.[oda]' -o -name '*.gcno' \) -type f \
! -path ./roms/edk2/ArmPkg/Library/GccLto/liblto-aarch64.a \
! -path ./roms/edk2/ArmPkg/Library/GccLto/liblto-arm.a \
-exec rm {} +
To fix, remove clean and distclean from UNCHECKED_GOALS, so those targets
are "checked", meaning that configure must be run before make. However,
the check action does not trigger, because clean does not depend on
config-host.mak, so change the action to simply throw an error.
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Message-Id: <1681909700-94095-1-git-send-email-steven.sistare@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/122.out')
0 files changed, 0 insertions, 0 deletions