remove Makefile in yabel directory, since it is not needed (leftover from SLOF biosemu) fix dump() function output to not include \r
Signed-off-by: Pattrick Hueper phueper@hueper.net --- util/x86emu/yabel/Makefile | 38 -------------------------------------- util/x86emu/yabel/debug.c | 4 ++-- 2 files changed, 2 insertions(+), 40 deletions(-) delete mode 100644 util/x86emu/yabel/Makefile
diff --git a/util/x86emu/yabel/Makefile b/util/x86emu/yabel/Makefile deleted file mode 100644 index 3a07ada..0000000 --- a/util/x86emu/yabel/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -# ***************************************************************************** -# * Copyright (c) 2004, 2008 IBM Corporation -# * All rights reserved. -# * This program and the accompanying materials -# * are made available under the terms of the BSD License -# * which accompanies this distribution, and is available at -# * http://www.opensource.org/licenses/bsd-license.php -# * -# * Contributors: -# * IBM Corporation - initial implementation -# ****************************************************************************/ - -ifndef TOP - TOP = $(shell while ! test -e make.rules; do cd .. ; done; pwd) - export TOP -endif -include $(TOP)/make.rules - -CFLAGS += -I$(ROOTDIR)/other-licence/x86emu -I$(ROOTDIR)/other-licence/x86emu/include - -OBJS = biosemu.o debug.o device.o mem.o io.o interrupt.o vbe.o -LIBX86EMU = $(ROOTDIR)/other-licence/x86emu/libx86emu.a - -.PHONY: $(LIBX86EMU) - -all: biosemu_app.o - -# special rule for libx86emu.a -$(LIBX86EMU): - $(MAKE) -C $(dir $@) - -biosemu_app.o: $(OBJS) $(LIBX86EMU) - $(LD) $(LDFLAGS) $^ -o $@ -r - -clean: - $(RM) -f *.o *.a *.i *.s - -include $(TOP)/make.depend diff --git a/util/x86emu/yabel/debug.c b/util/x86emu/yabel/debug.c index 722944c..3dff857 100644 --- a/util/x86emu/yabel/debug.c +++ b/util/x86emu/yabel/debug.c @@ -19,13 +19,13 @@ u32 debug_flags = 0; void dump(u8 * addr, u32 len) { - printf("\n\r%s(%p, %x):\n", __FUNCTION__, addr, len); + printf("\n%s(%p, %x):\n", __FUNCTION__, addr, len); while (len) { unsigned int tmpCnt = len; unsigned char x; if (tmpCnt > 8) tmpCnt = 8; - printf("\n\r%p: ", addr); + printf("\n%p: ", addr); // print hex while (tmpCnt--) { set_ci();
-----Original Message----- From: coreboot-bounces@coreboot.org [mailto:coreboot-bounces@coreboot.org] On Behalf Of Pattrick Hueper Sent: Monday, December 22, 2008 9:04 AM To: Coreboot Subject: [coreboot] [PATCH] YABEL: small cleanup patch
remove Makefile in yabel directory, since it is not needed (leftover from SLOF biosemu) fix dump() function output to not include \r
Signed-off-by: Pattrick Hueper phueper@hueper.net
Acked-by: Myles Watson mylesgw@gmail.com
Rev 1082.
Thanks, Myles