[OS-BUILD PATCH] redhat/Makefile: Remove deprecated variables and targets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Prarit Bhargava <prarit@xxxxxxxxxx>

redhat/Makefile: Remove deprecated variables and targets

Remove variables and targets that were deprecated in 5.17.0.

Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>

diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -3,21 +3,6 @@
 #
 # This section is intentionally left at the top of the Makefile so it won't be ignored.
 #
-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
-
 ifdef SINGLE_TARBALL
   # The commit that introduced this code can be reverted if there are users of
   # this variable.
@@ -99,16 +84,6 @@ ifndef DISTRO
   endif
 endif
 
-ifndef BUILD_FLAGS
-  ifeq ($(filter $(MAKECMDGOALS),dist-brew distg-brew),)
-	BUILD_FLAGS := $(BREW_FLAGS)
-  endif
-  ifeq ($(filter $(MAKECMDGOALS),dist-koji distg-koji),)
-	BUILD_FLAGS := $(KOJI_FLAGS)
-  endif
-  BUILD_FLAGS += $(TEST_FLAGS)
-endif
-
 ifndef RHJOBS
   RHJOBS=$(shell j=$$(echo $(MAKEFLAGS) | grep -Eo "\ -j[0-9]*" | xargs ); \
 	  if [ -z "$${j}" ]; then \
@@ -463,26 +438,6 @@ $(KABIDW_TARBALL):
 	fi
 	@(cd kabi-dwarf && tar cjf $(KABIDW_TARBALL) base run_kabi-dw.sh)
 
-dist-tarball: $(TARBALL)
-	# deprecated at 5.17.0
-	@echo "WARNING: This target will be deprecated in a future release."
-	@echo "redhat/$(TARFILE)"
-
-dist-kernelrelease:
-	# deprecated at 5.17.0
-	@echo "WARNING: This target will be deprecated in a future release."
-	@echo $(PACKAGE_NAME)-$(BASEVERSION)
-
-dist-kernelversion:
-	# deprecated at 5.17.0
-	@echo "WARNING: This target will be deprecated in a future release."
-	@echo $(BASEVERSION)
-
-dist-specfile: setup-source
-	# deprecated at 5.17.0
-	@echo "WARNING: This target will be deprecated in a future release."
-	@echo $(SOURCES)/$(SPECFILE)
-
 dist-git-version-check:
 	@# genspec.sh uses pathspec magic that wasn't introduced until version 2.13
 	@IFS=" ."; \

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1896
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux