Whamcloud - gitweb
LU-16751 build: remove symlinks and add SPDX 96/53396/3
authorTimothy Day <timday@amazon.com>
Sat, 9 Dec 2023 21:54:41 +0000 (21:54 +0000)
committerOleg Drokin <green@whamcloud.com>
Wed, 3 Jan 2024 03:03:21 +0000 (03:03 +0000)
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>
build/Makefile
build/Rules.in
build/autoMakefile.am
build/commit-msg [deleted symlink]
build/prepare-commit-msg [deleted symlink]

index b5f2f69..2f767ae 100644 (file)
@@ -1,12 +1,15 @@
+# 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
 #
index 38f5e14..a7960c7 100644 (file)
@@ -1,19 +1,12 @@
-# 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),)
 
index 5863e26..9b24284 100644 (file)
@@ -1,5 +1,14 @@
-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
diff --git a/build/commit-msg b/build/commit-msg
deleted file mode 120000 (symlink)
index 37bc6b0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../contrib/git-hooks/commit-msg
\ No newline at end of file
diff --git a/build/prepare-commit-msg b/build/prepare-commit-msg
deleted file mode 120000 (symlink)
index 9526639..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../contrib/git-hooks/prepare-commit-msg
\ No newline at end of file