* [U-Boot] [PATCH] circbuf: Move to lib_generic and conditionally compile
@ 2009-11-09 21:17 Peter Tyser
2009-12-02 22:19 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Peter Tyser @ 2009-11-09 21:17 UTC (permalink / raw)
To: u-boot
circbuf could be used as a generic library and is only currently
needed when CONFIG_USB_TTY is defined.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
---
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%)
diff --git a/common/Makefile b/common/Makefile
index 3781738..47f6a71 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -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
diff --git a/lib_generic/Makefile b/lib_generic/Makefile
index 686601c..2ec261a 100644
--- a/lib_generic/Makefile
+++ b/lib_generic/Makefile
@@ -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
diff --git a/common/circbuf.c b/lib_generic/circbuf.c
similarity index 100%
rename from common/circbuf.c
rename to lib_generic/circbuf.c
--
1.6.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] circbuf: Move to lib_generic and conditionally compile
2009-11-09 21:17 [U-Boot] [PATCH] circbuf: Move to lib_generic and conditionally compile Peter Tyser
@ 2009-12-02 22:19 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2009-12-02 22:19 UTC (permalink / raw)
To: u-boot
Dear Peter Tyser,
In message <1257801470-19987-1-git-send-email-ptyser@xes-inc.com> you wrote:
> circbuf could be used as a generic library and is only currently
> needed when CONFIG_USB_TTY is defined.
>
> Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
> ---
> 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
--
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-02 22:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-09 21:17 [U-Boot] [PATCH] circbuf: Move to lib_generic and conditionally compile Peter Tyser
2009-12-02 22:19 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.