config-patches
[Top][All Lists]
Advanced

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

Proposed patch for config.sub


From: Myles Dear (mdear)
Subject: Proposed patch for config.sub
Date: Sat, 30 Mar 2013 18:59:43 +0000

Hello,

 

I am very new to Linux development but would like to contribute a proposed fix to config.sub.

 

I would appreciate it if somebody would check the fix and ensure it is correct and worth for submission.

 

I am cross-compiling for the PPC 85xx processor family using the Wind River 3.0 toolchain.

 

Sorry, I don’t know how to generate this ChangeLog entry, I didn’t see instructions in the file.  I’ll send along a unified diff, hopefully that will be enough.

 

# Please send patches to <address@hidden>.  Submit a context

# diff and a properly formatted GNU ChangeLog entry.

 

--- /tmp/config.sub.old 2013-03-30 12:55:53.000000000 -0400

+++ /tmp/config.sub.new 2013-03-30 12:56:20.000000000 -0400

@@ -302,40 +302,44 @@

        | z8k | z80)

                basic_machine=$basic_machine-unknown

                ;;

        m6811 | m68hc11 | m6812 | m68hc12 | picochip)

                # Motorola 68HC11/12.

                basic_machine=$basic_machine-unknown

                os=-none

                ;;

        m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)

                ;;

        ms1)

                basic_machine=mt-unknown

                ;;

        # We use `pc' rather than `unknown'

        # because (1) that's what they normally are, and

        # (2) the word "unknown" tends to confuse beginning users.

        i*86 | x86_64)

          basic_machine=$basic_machine-pc

          ;;

+       # Account for Power PC format containing process family in a

+    # dashed clause (ie. powerpc-85xx-wrs)

+       powerpc-[0-9]*-*)

+               ;;

        # Object if more than one company name word.

        *-*-*)

                echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2

                exit 1

                ;;

        # Recognize the basic CPU types with company name.

        580-* \

        | a29k-* \

        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \

        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \

        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \

        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \

        | avr-* | avr32-* \

        | bfin-* | bs2000-* \

        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \

        | clipper-* | craynv-* | cydra-* \

        | d10v-* | d30v-* | dlx-* \

        | elxsi-* \

        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \

        | h8300-* | h8500-* \

 

 

cisco-logo-for-email-signature

 

Myles Dear

Embedded White-Box Test Designer

Automation Core Team

Network Operating System Technology Group (NOSTG)

 

Tel:     +1 (613) 254-4594

Mobile: +1 (613) 858-2120

Fax:     +1 (613) 254-3701

Email:   address@hidden

Cisco Systems Canada l www.cisco.com

2000 Innovation Dr, Kanata, ON, K2K 3E8

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]