From: Prarit Bhargava <[email protected]>

There are times when I have to generate both Fedora and RHEL configs.

Add fedora-configs and rh-configs make targets.

Signed-off-by: Prarit Bhargava <[email protected]>
---
 redhat/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/redhat/Makefile b/redhat/Makefile
index 32542936dd1f..ba9d278bf35a 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -141,6 +141,12 @@ dist-configs: dist-configs-prep
        @cd $(REDHAT)/configs; VERSION=$(KVERSION) ./generate_all_configs.sh 
rhel 1; \
        ./process_configs.sh $(PROCESS_CONFIGS_OPTS) $(PACKAGE_NAME) $(KVERSION)
 
+fedora-configs: DIST_TARGET=fedora
+fedora-configs: dist-configs
+
+rh-configs: DIST_TARGET=rhel
+rh-configs: dist-configs
+
 dist-configs-check: dist-configs-prep
        cd $(REDHAT)/configs; ./process_configs.sh 
$(PROCESS_CONFIGS_CHECK_OPTS) $(PACKAGE_NAME)
 
-- 
GitLab
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to