[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:40:26
Message-ID: S6860046AbaFZQktHH4Zg/20140626164049Z+118 () 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: b0ba5bf2de98208629e34c87bd306199371225ca
Gitweb: http://git.linux-mips.org/g/ralf/linux/b0ba5bf2de98
Branch: linux-2.6.29-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