diff options
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile index 7950e84..f223892 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -29,7 +29,13 @@ ifneq ($(CONFIG_CHARSET),) obj-y += charset.o endif endif -obj-$(CONFIG_USB_TTY) += circbuf.o + +ifdef CONFIG_USB_TTY +obj-y += circbuf.o +else +obj-$(CONFIG_CIRCBUF) += circbuf.o +endif + obj-y += crc8.o obj-y += crc16.o obj-$(CONFIG_ERRNO_STR) += errno_str.o |