git: f1e039d057ba - main - Allow COPYRIGHT_Vendor to come from CFLAGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 Sep 2022 18:24:26 UTC
The branch main has been updated by sjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=f1e039d057ba88695e98f6e2c884094f3434de95
commit f1e039d057ba88695e98f6e2c884094f3434de95
Author: Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2022-09-28 18:24:18 +0000
Commit: Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2022-09-28 18:24:18 +0000
Allow COPYRIGHT_Vendor to come from CFLAGS
Reviewed by: stevek
Sponsored by: Juniper Networks Inc.
---
sys/sys/copyright.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sys/sys/copyright.h b/sys/sys/copyright.h
index b749b3babe1e..402bf1bdc82a 100644
--- a/sys/sys/copyright.h
+++ b/sys/sys/copyright.h
@@ -27,9 +27,11 @@
/* Copyrights macros */
-/* Add a FreeBSD vendor copyright here */
+/* Add a FreeBSD vendor copyright here - or via CFLAGS */
+#ifndef COPYRIGHT_Vendor
#define COPYRIGHT_Vendor \
""
+#endif
/* FreeBSD */
#define COPYRIGHT_FreeBSD \