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

redhat/Makefile.cross: Remove ARCH selection code

When this code was written many years ago, it was assumed that users might
want to execute per-arch cross builds.  That really has never been the
case and the ARCH selection code is dead code that can be removed.

Remove the ARCH selection code.

Signed-off-by: Prarit Bhargava <pra...@redhat.com>

diff --git a/redhat/Makefile.cross b/redhat/Makefile.cross
index blahblah..blahblah 100644
--- a/redhat/Makefile.cross
+++ b/redhat/Makefile.cross
@@ -4,17 +4,12 @@ CROSS_PACKAGE_LIST = \
    cross-binutils-common cross-gcc-common diffstat \
    glibc-static ncurses-devel numactl-devel rng-tools
 
-ifeq ($(ARCH),arm64)
+# aarch64 packages
 CROSS_PACKAGE_LIST += binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu
-else ifeq ($(ARCH),ppc64le)
+# ppc64le packages
 CROSS_PACKAGE_LIST += binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu
-else ifeq ($(ARCH),s390)
+# s390x packages
 CROSS_PACKAGE_LIST += binutils-s390x-linux-gnu gcc-s390x-linux-gnu
-else
-CROSS_PACKAGE_LIST += binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu
-CROSS_PACKAGE_LIST += binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu
-CROSS_PACKAGE_LIST += binutils-s390x-linux-gnu gcc-s390x-linux-gnu
-endif
 
 dist-cross-download:
        @if [ "$(ARCHCONFIG)" != "X86_64" ]; then \

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