commit:     6671aa9863d4d1f7259b0ef722e5bd0246b4d86d
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 17 10:19:23 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Jul 17 10:19:23 2019 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=6671aa98

Fix hppa support

Make sure we pull in correct genkernel arch-specific configuration.
Kernel arch is always "parisc".

Bug: https://bugs.gentoo.org/658692
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 gen_arch.sh          | 3 +++
 gen_determineargs.sh | 6 ++++++
 2 files changed, 9 insertions(+)

diff --git a/gen_arch.sh b/gen_arch.sh
index f070a6f..7aef963 100755
--- a/gen_arch.sh
+++ b/gen_arch.sh
@@ -8,6 +8,9 @@ determine_kernel_arch() {
 
        KERNEL_ARCH=${ARCH}
        case ${ARCH} in
+               parisc|parisc64)
+                       KERNEL_ARCH=parisc
+                       ;;
                ppc|ppc64*)
                        if [ "${VER}" -ge "3" ]
                        then

diff --git a/gen_determineargs.sh b/gen_determineargs.sh
index 9fa8357..76c5b0d 100755
--- a/gen_determineargs.sh
+++ b/gen_determineargs.sh
@@ -204,6 +204,12 @@ determine_real_args() {
                        arm*)
                                ARCH="arm"
                                ;;
+                       hppa64*)
+                               ARCH="parisc64"
+                               ;;
+                       hppa*)
+                               ARCH="parisc"
+                               ;;
                        i386)
                                ARCH="ia32"
                                ;;

Reply via email to