[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 17:07:09
Message-ID: S6860042AbaFZRHLu7ku8/20140626170711Z+240 () 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: 297cc076f79c5e45fbe4575fcdd14853d8653325
Gitweb: http://git.linux-mips.org/g/ralf/linux/297cc076f79c
Branch: linux-2.6.24-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