mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
lib: Makefile: build crc7.c when CONFIG_MMC_SPI
When build U-Boot SPL, meet an issue of undefined reference to 'crc7' for drivers/mmc/mmc_spi.c, so let's compile crc7.c when CONFIG_MMC_SPI selected. Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Jagan Teki <jagan@amarulasolutions.com>
This commit is contained in:
parent
bbb94af981
commit
108604706d
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,6 @@ obj-y += charset.o
|
|||
endif
|
||||
endif
|
||||
obj-$(CONFIG_USB_TTY) += circbuf.o
|
||||
obj-y += crc7.o
|
||||
obj-y += crc8.o
|
||||
obj-y += crc16.o
|
||||
obj-$(CONFIG_ERRNO_STR) += errno_str.o
|
||||
|
@ -90,6 +89,7 @@ obj-y += errno.o
|
|||
obj-y += display_options.o
|
||||
CFLAGS_display_options.o := $(if $(BUILD_TAG),-DBUILD_TAG='"$(BUILD_TAG)"')
|
||||
obj-$(CONFIG_BCH) += bch.o
|
||||
obj-$(CONFIG_MMC_SPI) += crc7.o
|
||||
obj-y += crc32.o
|
||||
obj-$(CONFIG_CRC32C) += crc32c.o
|
||||
obj-y += ctype.o
|
||||
|
|
Loading…
Reference in a new issue