From bc600ecc3bdf0f189861dfb840f70c2339a7a853 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 24 May 2024 13:24:27 +0300 Subject: rename common to src + I keep starting to type src and wondering why autocomplete won't work, I guess src is just uncounciously a better name --- Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 13fd1b5..161290e 100644 --- a/Makefile +++ b/Makefile @@ -25,10 +25,8 @@ setup: ARCH ?= riscv64 ARCH_SOURCE = arch/$(ARCH) -# might consider renaming common, currently it refers to stuff common -# to all arches but clearly there are bits that are common to init and kernel -KERNEL_SOURCES != echo common/*.c common/uapi/*.c lib/*.c -INIT_SOURCES != echo lib/fdt*.c common/fdt.c common/string.c +KERNEL_SOURCES != echo src/*.c src/uapi/*.c lib/*.c +INIT_SOURCES != echo lib/fdt*.c src/fdt.c src/string.c CLEANUP := build deps.mk kernel.* init.* kmi.bin CLEANUP_CMD := @@ -37,17 +35,17 @@ include arch/$(ARCH)/source.mk .PHONY: format format: - find arch lib common include -iname '*.[ch]' |\ + find arch lib src include -iname '*.[ch]' |\ xargs uncrustify -c uncrustify.conf --no-backup -F - .PHONY: license license: - find arch lib common include -iname '*.[ch]' |\ + find arch lib src include -iname '*.[ch]' |\ xargs ./scripts/license .PHONY: docs docs: - find arch lib common include -iname '*.[ch]' -not -path */gen/* |\ + find arch lib src include -iname '*.[ch]' -not -path */gen/* |\ xargs ./scripts/warn-undocumented doxygen docs/doxygen.conf -- cgit v1.3