]> Git Repo - J-u-boot.git/blobdiff - lib/Makefile
image: Use the correct checks for CRC32
[J-u-boot.git] / lib / Makefile
index 454396f101b2e14548d74534e78b755ef5dbcf27..5ddbc77ed6d8f060a1aad4c85d8260d255ab816a 100644 (file)
@@ -96,9 +96,7 @@ 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
-#ifndef CONFIG_TPL_BUILD
-obj-y += crc32.o
-#endif
+obj-$(CONFIG_$(SPL_TPL_)CRC32) += crc32.o
 obj-$(CONFIG_CRC32C) += crc32c.o
 obj-y += ctype.o
 obj-y += div64.o
This page took 0.02799 seconds and 4 git commands to generate.