From: Scott Weaver <scwea...@redhat.com> redhat/Makefile: add dist-automotive-configs
This adds a target that generates only the automotive configs. The dist-srpm-automotive target was updated to use this which is quicker than generating all the configs (which are not needed by the automotive build). Signed-off-by: Scott Weaver <scwea...@redhat.com> diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -574,6 +574,17 @@ dist-rhel-configs: FLAVOR = rhel dist-rhel-configs: dist-configs rh-configs: dist-rhel-configs +# although automotive is not a flavor we want to treat it like it has it's own config priority file +automotive-configs-pre: + @cp $(REDHAT)/configs/priority.$(FLAVOR) $(REDHAT)/configs/priority.$(FLAVOR).bak + @sed -i '/^#\|^ORDER\|^\(x86_64\|aarch64\)-automotive/!d' $(REDHAT)/configs/priority.$(FLAVOR) +automotive-configs-post: + @mv $(REDHAT)/configs/priority.$(FLAVOR).bak $(REDHAT)/configs/priority.$(FLAVOR) + +dist-automotive-configs: ##build build only the automotive configs +dist-automotive-configs: FLAVOR = rhel +dist-automotive-configs: automotive-configs-pre .WAIT dist-configs .WAIT automotive-configs-post + dist-configs-check: dist-configs-prep +cd $(REDHAT)/configs; ./process_configs.sh $(PROCESS_CONFIGS_CHECK_OPTS) "" "" @@ -767,7 +778,8 @@ dist-srpm-automotive: INCLUDE_FEDORA_FILES := 0 dist-srpm-automotive: INCLUDE_RHEL_FILES := 0 dist-srpm-automotive: INCLUDE_RT_FILES := 0 dist-srpm-automotive: INCLUDE_AUTOMOTIVE_FILES := 1 -dist-srpm-automotive: dist-srpm +dist-srpm-automotive: FLAVOR := rhel +dist-srpm-automotive: automotive-configs-pre .WAIT dist-srpm .WAIT automotive-configs-post @rm -f $(REDHAT)/kernel-automotive* dist-rpms: ##build Create the binary RPMS for the kernel. See the dist-brew target for available options. -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3870 -- _______________________________________________ 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, report it: https://pagure.io/fedora-infrastructure/new_issue