From: Prarit Bhargava <pra...@redhat.com>

redhat/Makfile: Deprecate BREW_FLAGS, KOJI_FLAGS, and TEST_FLAGS

The BREW_FLAGS, KOJI_FLAGS, and TEST_FLAGS variables can be replaced with
BUILD_FLAGS.  Mark these three variables for later deprecation and warn
users about their usage.

Signed-off-by: Prarit Bhargava <pra...@redhat.com>

diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -1,3 +1,19 @@
+# deprecated variables
+ifdef BREW_FLAGS
+  # deprecated in 5.17.0
+  $(warning WARNING: BREW_FLAGS will be deprecated in a later release, use 
BUILD_FLAGS instead.)
+endif
+
+ifdef KOJI_FLAGS
+  # deprecated in 5.17.0
+  $(warning WARNING: KOJI_FLAGS will be deprecated in a later release, use 
BUILD_FLAGS instead.)
+endif
+
+ifdef TEST_FLAGS
+  # deprecated in 5.17.0
+  $(warning WARNING: TEST_FLAGS will be deprecated in a later release, use 
BUILD_FLAGS instead.)
+endif
+
 include Makefile.variables
 
 LANG=C

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1641
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to