circbuf: Move to lib_generic and conditionally compile
PATCH 1/1 circbuf: Move to lib_generic and conditionally compile
circbuf could be used as a generic library and is only currently needed when CONFIG_USB_TTY is defined.
Signed-off-by Peter Tyser <[email protected]>
---
common/Makefile | 1 -
lib_generic/Makefile | 1 +
{common => lib_generic}/circbuf.c | 0
3 files changed, 1 insertions(+), 1 deletions(-)
rename {common => lib_generic}/circbuf.c (100%)common/Makefile +0 -1
@@ -29,7 +29,6 @@ AOBJS = # core COBJS-y += main.o -COBJS-y += circbuf.o COBJS-y += console.o COBJS-y += command.o COBJS-y += dlmalloc.o
lib_generic/Makefile +1 -0
@@ -31,6 +31,7 @@ COBJS-$(CONFIG_BZIP2) += bzlib_crctable.o COBJS-$(CONFIG_BZIP2) += bzlib_decompress.o COBJS-$(CONFIG_BZIP2) += bzlib_randtable.o COBJS-$(CONFIG_BZIP2) += bzlib_huffman.o +COBJS-$(CONFIG_USB_TTY) += circbuf.o COBJS-y += crc16.o COBJS-y += crc32.o COBJS-y += ctype.o
lib_generic/circbuf.c renamed from common/circbuf.c +0 -0
Signature · 1 line
1.6.2.1
Wolfgang Denk
AppliedPATCH 1/1 circbuf: Move to lib_generic and conditionally compile
Dear Peter Tyser,
Quoted 10 lines · In message <[email protected]> you wrote:
circbuf could be used as a generic library and is only currently needed when
CONFIG_USB_TTYis defined.Signed-off-by Peter Tyser <[email protected]>--- common/Makefile | 1 - lib_generic/Makefile | 1 + {common => lib_generic}/circbuf.c | 0 3 files changed, 1 insertions(+), 1 deletions(-) rename {common => lib_generic}/circbuf.c (100%)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Drawing on my fine command of language, I said nothing.