toolchain-funcs.eclass: add or1k tuple support #589682
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>
Tue, 9 Aug 2016 16:57:57 +0000 (00:57 +0800)
committerMike Frysinger <vapier@gentoo.org>
Tue, 9 Aug 2016 16:59:40 +0000 (00:59 +0800)
eclass/toolchain-funcs.eclass

index 9bb5232d2f9fb40adf704c8a37601f8ee70538c9..5bac36b6737cdd8d4e90462103733d25505e405b 100644 (file)
@@ -488,7 +488,7 @@ ninj() { [[ ${type} == "kern" ]] && echo $1 || echo $2 ; }
                mips*)          echo mips;;
                nios2*)         echo nios2;;
                nios*)          echo nios;;
-               or32*)          echo openrisc;;
+               or1k|or32*)     echo openrisc;;
                powerpc*)
                        # Starting with linux-2.6.15, the 'ppc' and 'ppc64' trees
                        # have been unified into simply 'powerpc', but until 2.6.16,