Remove commit-msg and prepare-commit-msg links
in the build/ directory. Add proper headers and
SPDX to the remaining files in build/.
Test-Parameters: trivial
Fixes:
25c93758d6 ("LU-1199 build: Clean out the build directory")
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I649ed60f5541be2832555efa2e0cf64cd1a5c67c
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53396
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
+# SPDX-License-Identifier: GPL-2.0
+
#
-# There are four ways this Makefile can be called:
+# This file is part of Lustre, http://www.lustre.org/
#
+# build/Makefile
#
-# 1. As a subdirectory from the toplevel, for automake
+# There are four ways this Makefile can be called:
#
+# 1. As a subdirectory from the toplevel, for automake
# 2. A wrapper around the kernel's makefile when building modules, to
# possibly override the .config file
-#
# 3. At configure time, as the toplevel module dir for building
# kernel tests
#
-# Directories building kernel modules should have two files:
-#
-# Makefile.in:
+# SPDX-License-Identifier: GPL-2.0
+
#
-# MODULES := <module-name>
-# <module-name>-objs := file1.o file2.o file3.o
-# @INCLUDE_RULES@
+# This file is part of Lustre, http://www.lustre.org/
#
-# and autoMakefile.am:
+# build/Rules.in
#
-# if MODULES
-# modulefs_DATA = <module-name>$(KMODEXT)
-# endif
+# Rules file for the kernel-related autoconf tests.
#
-# DIST_SOURCES = $(<module-name>-objs:.o=.c) <other sources>
-# MOSTLYCLEANFILES = *.o *.ko *.mod.c
ifeq ($(PATCHLEVEL),)
-MOSTLYCLEANFILES := @MOSTLYCLEANFILES@
+# SPDX-License-Identifier: GPL-2.0
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+# build/autoMakefile.am
+#
# Override the default distclean, which removes Makefile
+#
+
+MOSTLYCLEANFILES := @MOSTLYCLEANFILES@
+
distclean: distclean-recursive
@true
+++ /dev/null
-../contrib/git-hooks/commit-msg
\ No newline at end of file
+++ /dev/null
-../contrib/git-hooks/prepare-commit-msg
\ No newline at end of file