diff options
author | aqua <aqua@iserlohn-fortress.net> | 2023-06-29 21:45:11 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2023-06-29 21:45:11 +0300 |
commit | eb84566d236df6b0dd4f5ce8fc47d66e55e33654 (patch) | |
tree | 7e03ca126781c67336edf9f3ce6888aad23f74e4 /rules.mk | |
parent | Rework leaf makefiles to be included from top-level (diff) | |
download | kernel-eb84566d236df6b0dd4f5ce8fc47d66e55e33654.tar.xz |
Fix compiler warnings
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -65,6 +65,7 @@ list-targets: @echo " SRCS: ${$(basename $@).SRCS}" @echo " OBJS: ${$(basename $@).OBJS}" @echo " DEPS: ${$(basename $@).DEPS}" + @echo " LD ${${ARCH}_LDFLAGS}" all: ${DEFAULT_TARGETS} @echo " -> Built all in ${COMPONENT}" @@ -131,13 +132,11 @@ valgrind.quiet: ${TESTS} @echo " -> Running valgrind on tests in $(shell pwd | xargs basename)" @../scripts/test_runner.py --valgrind ${TESTS} -clean.base: FORCE +clean: FORCE @echo " -> Cleaning $(shell pwd | xargs basename)" @$(foreach V,$(filter %.OBJS, ${.VARIABLES}), rm -rf $($(V))) @$(foreach V,$(filter %.DEPS, ${.VARIABLES}), rm -rf $($(V))) - @rm -rf *.a + @rm -rf *.a ${CLEAN_FILES} @rm -rf ${TESTS} -%: %.base ; - FORCE: ; |