[OS-BUILD PATCH 2/2] redhat/Makefile.cross: Add message for disabled subpackages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Prarit Bhargava <prarit@xxxxxxxxxx>

redhat/Makefile.cross: Add message for disabled subpackages

Add a message for the disabled subpackages.

Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>

diff --git a/redhat/Makefile.cross b/redhat/Makefile.cross
index blahblah..blahblah 100644
--- a/redhat/Makefile.cross
+++ b/redhat/Makefile.cross
@@ -13,30 +13,31 @@ CROSS_PACKAGE_LIST += binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu
 # s390x packages
 CROSS_PACKAGE_LIST += binutils-s390x-linux-gnu gcc-s390x-linux-gnu
 
-dist-cross-download:
+dist-cross-setup:
 	@if [ "$(ARCHCONFIG)" != "X86_64" ]; then \
 		echo "$(ARCHCONFIG) ERROR: cross compile only enabled for x86_64"; \
 		exit 1; \
 	fi;
 	@ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) \
 		$(REDHAT)/scripts/cross-compile/download_cross.sh $(CROSS_PACKAGE_LIST)
+	@echo "INFO: Adding $(CROSS_DISABLED_SUBPACKAGES) to cross compile targets.  These subpackages cannot be built with the existing cross toolchains."
 
-dist-cross-aarch64-rpms: dist-cross-download dist-sources
+dist-cross-aarch64-rpms: dist-cross-setup dist-sources
 	$(REDHAT)/scripts/cross-compile/x86_rngd.sh
 	$(CROSS_RPMFLAGS) --target aarch64 --with cross $(CROSS_DISABLED_SUBPACKAGES) -ba $(RPM)/SOURCES/$(SPECFILE)
 	$(REDHAT)/scripts/cross-compile/generate-cross-report.sh "aarch64"
 
-dist-cross-ppc64le-rpms: dist-cross-download dist-sources
+dist-cross-ppc64le-rpms: dist-cross-setup dist-sources
 	$(REDHAT)/scripts/cross-compile/x86_rngd.sh
 	$(CROSS_RPMFLAGS) --target ppc64le --with cross $(CROSS_DISABLED_SUBPACKAGES) -ba $(RPM)/SOURCES/$(SPECFILE)
 	$(REDHAT)/scripts/cross-compile/generate-cross-report.sh "ppc64"
 
-dist-cross-s390x-rpms: dist-cross-download dist-sources
+dist-cross-s390x-rpms: dist-cross-setup dist-sources
 	$(REDHAT)/scripts/cross-compile/x86_rngd.sh
 	$(CROSS_RPMFLAGS) --target s390x --with cross $(CROSS_DISABLED_SUBPACKAGES) -ba $(RPM)/SOURCES/$(SPECFILE)
 	$(REDHAT)/scripts/cross-compile/generate-cross-report.sh "s390x"
 
-dist-cross-all-rpms: dist-cross-download dist-sources
+dist-cross-all-rpms: dist-cross-setup dist-sources
 	$(REDHAT)/scripts/cross-compile/x86_rngd.sh
 	$(CROSS_RPMFLAGS) --target aarch64 --with cross $(CROSS_DISABLED_SUBPACKAGES) -ba $(RPM)/SOURCES/$(SPECFILE)
 	$(CROSS_RPMFLAGS) --target ppc64le --with cross $(CROSS_DISABLED_SUBPACKAGES) -ba $(RPM)/SOURCES/$(SPECFILE)
@@ -44,22 +45,22 @@ dist-cross-all-rpms: dist-cross-download dist-sources
 	$(CROSS_RPMFLAGS) -ba $(RPM)/SOURCES/$(SPECFILE)
 	$(REDHAT)/scripts/cross-compile/generate-cross-report.sh "aarch64 ppc64 s390x x86_64"
 
-dist-cross-aarch64-build: dist-cross-download dist-sources
+dist-cross-aarch64-build: dist-cross-setup dist-sources
 	$(REDHAT)/scripts/cross-compile/x86_rngd.sh
 	$(CROSS_RPMFLAGS) --target aarch64 --with cross --without debuginfo $(CROSS_DISABLED_SUBPACKAGES) -bc $(RPM)/SOURCES/$(SPECFILE)
 	$(REDHAT)/scripts/cross-compile/generate-cross-report.sh "aarch64"
 
-dist-cross-ppc64le-build: dist-cross-download dist-sources
+dist-cross-ppc64le-build: dist-cross-setup dist-sources
 	$(REDHAT)/scripts/cross-compile/x86_rngd.sh
 	$(CROSS_RPMFLAGS) --target ppc64le --with cross --without debuginfo $(CROSS_DISABLED_SUBPACKAGES) -bc $(RPM)/SOURCES/$(SPECFILE)
 	$(REDHAT)/scripts/cross-compile/generate-cross-report.sh "ppc64le"
 
-dist-cross-s390x-build: dist-cross-download dist-sources
+dist-cross-s390x-build: dist-cross-setup dist-sources
 	$(REDHAT)/scripts/cross-compile/x86_rngd.sh
 	$(CROSS_RPMFLAGS) --target s390x --with cross --without debuginfo $(CROSS_DISABLED_SUBPACKAGES) -bc $(RPM)/SOURCES/$(SPECFILE)
 	$(REDHAT)/scripts/cross-compile/generate-cross-report.sh "s390x"
 
-dist-cross-all-builds: dist-cross-download dist-sources
+dist-cross-all-builds: dist-cross-setup dist-sources
 	$(REDHAT)/scripts/cross-compile/x86_rngd.sh
 	$(CROSS_RPMFLAGS) --target aarch64 --with cross --without debuginfo $(CROSS_DISABLED_SUBPACKAGES) -bc $(RPM)/SOURCES/$(SPECFILE)
 	$(CROSS_RPMFLAGS) --target ppc64le --with cross --without debuginfo $(CROSS_DISABLED_SUBPACKAGES) -bc $(RPM)/SOURCES/$(SPECFILE)

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2723
_______________________________________________
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, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux