Browse Source

Add NIOS2 support to cputable

NIOS2 is a little endian soft-core by Altera.

Signed-off-by: Guillem Jover <guillem@debian.org>
Marek Vasut 8 years ago
parent
commit
db4f3d7178
3 changed files with 3 additions and 1 deletions
  1. 1 0
      cputable
  2. 1 0
      debian/changelog
  3. 1 1
      scripts/t/Dpkg_Arch.t

+ 1 - 0
cputable

@@ -29,6 +29,7 @@ mips		mips		mips(eb)?		32	big
 mipsel		mipsel		mipsel			32	little
 mips64		mips64		mips64			64	big
 mips64el	mips64el	mips64el		64	little
+nios2		nios2		nios2			32	little
 or1k		or1k		or1k			32	big
 powerpc		powerpc		(powerpc|ppc)		32	big
 powerpcel	powerpcle	powerpcle		32	little

+ 1 - 0
debian/changelog

@@ -30,6 +30,7 @@ dpkg (1.18.4) UNRELEASED; urgency=medium
     Thanks to Yuri Gribov <tetra2005@gmail.com>.
   * Fix usage of dpkg-architecture -s after other action options.
     Reported by Niels Thykier <niels@thykier.net>.
+  * Add NIOS2 support to cputable. Thanks to Marek Vasut <marex@denx.de>.
   * Test suite:
     - Improve perl code test coverage.
   * Build system:

+ 1 - 1
scripts/t/Dpkg_Arch.t

@@ -98,7 +98,7 @@ is(gnutriplet_to_debarch(undef), undef, 'undef gnutriplet');
 is(gnutriplet_to_debarch('unknown-unknown-unknown'), undef, 'unknown gnutriplet');
 is(gnutriplet_to_debarch('x86_64-linux-gnu'), 'amd64', 'known gnutriplet');
 
-is(scalar get_valid_arches(), 403, 'expected amount of known architectures');
+is(scalar get_valid_arches(), 417, 'expected amount of known architectures');
 
 {
     local $ENV{CC} = 'false';