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

redhat: Move cross-compile scripts into their own directory

The redhat/scripts dir is messy and this is just a cleanup.

Move the cross-compile scripts into their own directory.

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
@@ -22,50 +22,50 @@ dist-cross-download:
                exit 1; \
        fi;
        @ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) \
-               $(REDHAT)/scripts/download_cross.sh $(CROSS_PACKAGE_LIST)
+               $(REDHAT)/scripts/cross-compile/download_cross.sh 
$(CROSS_PACKAGE_LIST)
 
 dist-cross-aarch64-rpms: dist-cross-download dist-sources
-       $(REDHAT)/scripts/x86_rngd.sh
+       $(REDHAT)/scripts/cross_compile/x86_rngd.sh
        $(CROSS_RPMFLAGS) --target aarch64 --with cross -ba 
$(RPM)/SOURCES/$(SPECFILE)
-       $(REDHAT)/scripts/generate-cross-report.sh "aarch64"
+       $(REDHAT)/scripts/cross-compile/generate-cross-report.sh "aarch64"
 
 dist-cross-ppc64-rpms: dist-cross-download dist-sources
-       $(REDHAT)/scripts/x86_rngd.sh
+       $(REDHAT)/scripts/cross_compile/x86_rngd.sh
        $(CROSS_RPMFLAGS) --target ppc64 --with cross -ba 
$(RPM)/SOURCES/$(SPECFILE)
-       $(REDHAT)/scripts/generate-cross-report.sh "ppc64"
+       $(REDHAT)/scripts/cross-compile/generate-cross-report.sh "ppc64"
 
 dist-cross-s390x-rpms: dist-cross-download dist-sources
-       $(REDHAT)/scripts/x86_rngd.sh
+       $(REDHAT)/scripts/cross_compile/x86_rngd.sh
        $(CROSS_RPMFLAGS) --target s390x --with cross -ba 
$(RPM)/SOURCES/$(SPECFILE)
-       $(REDHAT)/scripts/generate-cross-report.sh "s390x"
+       $(REDHAT)/scripts/cross-compile/generate-cross-report.sh "s390x"
 
 dist-cross-all-rpms: dist-cross-download dist-sources
-       $(REDHAT)/scripts/x86_rngd.sh
+       $(REDHAT)/scripts/cross_compile/x86_rngd.sh
        $(CROSS_RPMFLAGS) --target aarch64 --with cross -ba 
$(RPM)/SOURCES/$(SPECFILE)
        $(CROSS_RPMFLAGS) --target ppc64 --with cross -ba 
$(RPM)/SOURCES/$(SPECFILE)
        $(CROSS_RPMFLAGS) --target s390x --with cross -ba 
$(RPM)/SOURCES/$(SPECFILE)
        $(CROSS_RPMFLAGS) -ba $(RPM)/SOURCES/$(SPECFILE)
-       $(REDHAT)/scripts/generate-cross-report.sh "aarch64 ppc64 s390x x86_64"
+       $(REDHAT)/scripts/cross-compile/generate-cross-report.sh "aarch64 ppc64 
s390x x86_64"
 
 dist-cross-aarch64-build: dist-cross-download dist-sources
-       $(REDHAT)/scripts/x86_rngd.sh
+       $(REDHAT)/scripts/cross_compile/x86_rngd.sh
        $(CROSS_RPMFLAGS) --target aarch64 --with cross --without debuginfo -bc 
$(RPM)/SOURCES/$(SPECFILE)
-       $(REDHAT)/scripts/generate-cross-report.sh "aarch64"
+       $(REDHAT)/scripts/cross-compile/generate-cross-report.sh "aarch64"
 
 dist-cross-ppc64-build: dist-cross-download dist-sources
-       $(REDHAT)/scripts/x86_rngd.sh
+       $(REDHAT)/scripts/cross_compile/x86_rngd.sh
        $(CROSS_RPMFLAGS) --target ppc64 --with cross --without debuginfo -bc 
$(RPM)/SOURCES/$(SPECFILE)
-       $(REDHAT)/scripts/generate-cross-report.sh "ppc64"
+       $(REDHAT)/scripts/cross-compile/generate-cross-report.sh "ppc64"
 
 dist-cross-s390x-build: dist-cross-download dist-sources
-       $(REDHAT)/scripts/x86_rngd.sh
+       $(REDHAT)/scripts/cross_compile/x86_rngd.sh
        $(CROSS_RPMFLAGS) --target s390x --with cross --without debuginfo -bc 
$(RPM)/SOURCES/$(SPECFILE)
-       $(REDHAT)/scripts/generate-cross-report.sh "s390x"
+       $(REDHAT)/scripts/cross-compile/generate-cross-report.sh "s390x"
 
 dist-cross-all-builds: dist-cross-download dist-sources
-       $(REDHAT)/scripts/x86_rngd.sh
+       $(REDHAT)/scripts/cross_compile/x86_rngd.sh
        $(CROSS_RPMFLAGS) --target aarch64 --with cross --without debuginfo -bc 
$(RPM)/SOURCES/$(SPECFILE)
        $(CROSS_RPMFLAGS) --target ppc64 --with cross --without debuginfo -bc 
$(RPM)/SOURCES/$(SPECFILE)
        $(CROSS_RPMFLAGS) --target s390x --with cross --without debuginfo -bc 
$(RPM)/SOURCES/$(SPECFILE)
        $(CROSS_RPMFLAGS) --without debuginfo -bc $(RPM)/SOURCES/$(SPECFILE)
-       $(REDHAT)/scripts/generate-cross-report.sh "aarch64 ppc64 s390x x86_64"
+       $(REDHAT)/scripts/cross-compile/generate-cross-report.sh "aarch64 ppc64 
s390x x86_64"
diff --git a/redhat/scripts/download_cross.sh 
b/redhat/scripts/cross-compile/download_cross.sh
rename from redhat/scripts/download_cross.sh
rename to redhat/scripts/cross-compile/download_cross.sh
index blahblah..blahblah 100755
--- a/redhat/scripts/download_cross.sh
+++ b/redhat/scripts/cross-compile/download_cross.sh
diff --git a/redhat/scripts/generate-cross-report.sh 
b/redhat/scripts/cross-compile/generate-cross-report.sh
rename from redhat/scripts/generate-cross-report.sh
rename to redhat/scripts/cross-compile/generate-cross-report.sh
index blahblah..blahblah 100755
--- a/redhat/scripts/generate-cross-report.sh
+++ b/redhat/scripts/cross-compile/generate-cross-report.sh
diff --git a/redhat/scripts/x86_rngd.sh 
b/redhat/scripts/cross-compile/x86_rngd.sh
rename from redhat/scripts/x86_rngd.sh
rename to redhat/scripts/cross-compile/x86_rngd.sh
index blahblah..blahblah 100755
--- a/redhat/scripts/x86_rngd.sh
+++ b/redhat/scripts/cross-compile/x86_rngd.sh

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