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

redhat/docs: Add dist-brew BUILD_FLAGS information

Add information about how to set brew options using the BUILD_FLAGS
variable.

Suggested-by: Chris von Recklinghausen <creck...@redhat.com>
Signed-off-by: Prarit Bhargava <pra...@redhat.com>

diff --git a/redhat/docs/index.rst b/redhat/docs/index.rst
index blahblah..blahblah 100644
--- a/redhat/docs/index.rst
+++ b/redhat/docs/index.rst
@@ -124,6 +124,14 @@ or
    # build against the latest RHEL major compose
    make dist-brew
 
+The dist-brew target can be used with the BUILD_FLAGS variable to specify 
specific architectures.  For example, to only build the x86_64 and noarch 
architectures,
+
+.. code-block:: sh
+
+   # this target requires internal Red Hat network access and will always
+   # build against the latest RHEL major compose
+   make dist-brew BUILD_FLAGS="--arch-override=x86_64,noarch"
+
 Want to add a patch? Just apply it with ``git cherry-pick`` or ``git am``, and
 re-run ``make dist-srpm``. To modify the kernel configuration, make changes in
 ``redhat/configs/`` (consult the repository layout for details on this).

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1988
_______________________________________________
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

Reply via email to