From: Herton R. Krzesinski <herton@xxxxxxxxxx> redhat: fix and rename fedora-configs and rh-configs targets Since the rename of all targets to dist-* targets, the specific config targets for Fedora and RHEL do not work anymore: the makefile filters only dist-% and distg-% targets, so it doesn't run against redhat/Makefile and thus calling those targets do not work (as they of course do not exist on the main kernel Makefile). We have two approaches to this: change makefile to accept those old config targets, or rename them so the current filter/makefile works. I chose the latter approach with this change: fedora-configs target is renamed to dist-fedora-configs, while rh-configs target is renamed to dist-rhel-configs. Signed-off-by: Herton R. Krzesinski <herton@xxxxxxxxxx> diff a/redhat/Makefile b/redhat/Makefile --- a/redhat/Makefile +++ b/redhat/Makefile @@ -135,11 +135,11 @@ dist-configs: dist-configs-prep @cd $(REDHAT)/configs; VERSION=$(KVERSION) ./generate_all_configs.sh "$(FLAVOR)" 1; \ ./process_configs.sh $(PROCESS_CONFIGS_OPTS) $(PACKAGE_NAME) $(KVERSION) -fedora-configs: FLAVOR = fedora -fedora-configs: dist-configs +dist-fedora-configs: FLAVOR = fedora +dist-fedora-configs: dist-configs -rh-configs: FLAVOR = rhel -rh-configs: dist-configs +dist-rhel-configs: FLAVOR = rhel +dist-rhel-configs: dist-configs dist-configs-check: dist-configs-prep cd $(REDHAT)/configs; ./process_configs.sh $(PROCESS_CONFIGS_CHECK_OPTS) $(PACKAGE_NAME) @@ -516,8 +516,8 @@ dist-full-help: @echo ' dist-cross-<arch>-rpms - [x86_64 only] execute rpm builds for specified' @echo ' <arch> using RHEL cross compiler.' @echo ' See dist-cross-<arch>-build for the supported archs.' - @echo ' rh-configs - build ELN configs' - @echo ' fedora-configs - build Fedora configs' + @echo ' dist-rhel-configs - build ELN configs' + @echo ' dist-fedora-configs - build Fedora configs' @echo '' @echo 'kABI targets:' -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/953 _______________________________________________ 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