mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl/boot/Makefile: fix cleanup of linker script dependency files
By default, the Bash file globbing pattern '*' doesn't list files prefixed by a dot (see https://linux.die.net/man/1/bash). Let's fix this by using the pattern `.*` instead. While at it, add `--` option to remove possible problems with leading dashes in filenames. Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
9e62005818
commit
8231ec5f38
@@ -118,7 +118,7 @@ data.h: data.o
|
||||
echo "extern char $$SYMBOL;" >>data.h; done
|
||||
|
||||
clean:
|
||||
rm -f *.o *.exec *.bin $(FILES) data.o data.h tape0.bin *.xxx *.yyy \
|
||||
stage3.bin *.lds *.lds.d
|
||||
rm -f -- *.o *.exec *.bin $(FILES) data.o data.h tape0.bin *.xxx *.yyy \
|
||||
stage3.bin *.lds .*.lds.d
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
Reference in New Issue
Block a user