[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mips-cvs
Subject:    MIPS: Lasat: Fix build error if CRC32 is not enabled.
From:       linux-mips () linux-mips ! org
Date:       2014-06-26 16:56:45
Message-ID: S6817913AbaFZQ4sDvEnY/20140626165648Z+234 () eddie ! linux-mips ! org
[Download RAW message or body]

Author: Ralf Baechle <ralf@linux-mips.org> Thu Jun 26 14:43:01 2014 +0100
Commit: b692527d1c7efa6f5ffff2cee120ced2f2e348cb
Gitweb: http://git.linux-mips.org/g/ralf/linux/b692527d1c7e
Branch: linux-2.6.26-stable

Kconfig doesn't select CRC32 so it's possible to build a Lasat kernel
without CONFIG_CRC32 resulting in a build error:

  LD      vmlinux
arch/mips/built-in.o: In function `lasat_init_board_info':
(.text+0x22c): undefined reference to `crc32_le'
arch/mips/built-in.o: In function `lasat_write_eeprom_info':
(.text+0x7fc): undefined reference to `crc32_le'
make: *** [vmlinux] Error 1

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
(cherry picked from commit 16f0bbbc1fbe0d09cda5b5b2dbbd6716026dfa7b)

---

 arch/mips/Kconfig |    1 +
 1 file changed, 1 insertion(+)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic