lib: Allow crc16 code to be dropped
This code is not necessarily needed in VPL, even if SPL uses it, so adjust the rules to allow it to be dropped. Do the same for the hash API. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -35,8 +35,6 @@ obj-$(CONFIG_CIRCBUF) += circbuf.o
|
||||
endif
|
||||
|
||||
obj-y += crc8.o
|
||||
obj-y += crc16.o
|
||||
obj-y += crc16-ccitt.o
|
||||
obj-$(CONFIG_ERRNO_STR) += errno_str.o
|
||||
obj-$(CONFIG_FIT) += fdtdec_common.o
|
||||
obj-$(CONFIG_TEST_FDTDEC) += fdtdec_test.o
|
||||
@@ -66,6 +64,7 @@ endif
|
||||
|
||||
obj-$(CONFIG_$(PHASE_)CRC8) += crc8.o
|
||||
obj-$(CONFIG_$(PHASE_)CRC16) += crc16.o
|
||||
obj-$(CONFIG_$(PHASE_)CRC16) += crc16-ccitt.o
|
||||
|
||||
obj-y += crypto/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user