* [U-Boot-Users] [PATCH] 5/9: general
@ 2003-03-06 12:34 Robert Schwebel
2003-03-06 13:14 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Robert Schwebel @ 2003-03-06 12:34 UTC (permalink / raw)
To: u-boot
GENERAL
=======
- compiler run breaks when inca-ip_sw.o is included. Somebody might want
to find the real reason...
- mkimage should work when being called from _everywhere_...
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Braunschweiger Str. 79, 31134 Hildesheim, Germany
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4
-------------- next part --------------
diff -urN -x CVS -x ptx-patches -x logfile -x logfile1 u-boot/drivers/Makefile u-boot-ptx/drivers/Makefile
--- u-boot/drivers/Makefile 2003-03-02 12:24:50.000000000 +0100
+++ u-boot-ptx/drivers/Makefile 2003-03-02 18:15:39.000000000 +0100
@@ -29,12 +29,15 @@
OBJS = 3c589.o 5701rls.o bcm570x.o bcm570x_autoneg.o \
cfb_console.o cs8900.o ct69000.o dc2114x.o \
- eepro100.o i8042.o inca-ip_sw.o \
+ eepro100.o i8042.o \
natsemi.o ns16550.o ns8382x.o ns87308.o \
pci.o pci_auto.o pci_indirect.o \
pcnet.o sed13806.o serial.o \
smc91111.o smiLynxEM.o sym53c8xx.o \
tigon3.o w83c553f.o
+# Add this after i8042.o... doesn't work. [RS]
+# inca-ip_sw.o
+
all: $(LIB)
diff -urN -x CVS -x ptx-patches -x logfile -x logfile1 u-boot/tools/mkimage.c u-boot-ptx/tools/mkimage.c
--- u-boot/tools/mkimage.c 2002-12-19 09:19:19.000000000 +0100
+++ u-boot-ptx/tools/mkimage.c 2002-12-19 09:22:12.000000000 +0100
@@ -17,6 +17,7 @@
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
+#include <libgen.h>
#if defined(__BEOS__) || defined(__NetBSD__) || defined(__APPLE__)
#include <inttypes.h>
@@ -156,7 +157,7 @@
unsigned char *ptr;
char *name = "";
- cmdname = *argv;
+ cmdname = basename(*argv);
addr = ep = 0;
^ permalink raw reply [flat|nested] 3+ messages in thread* [U-Boot-Users] [PATCH] 5/9: general
2003-03-06 12:34 [U-Boot-Users] [PATCH] 5/9: general Robert Schwebel
@ 2003-03-06 13:14 ` Wolfgang Denk
2003-03-07 13:29 ` Robert Schwebel
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2003-03-06 13:14 UTC (permalink / raw)
To: u-boot
In message <20030306123421.GR16290@pengutronix.de> you wrote:
>
> - compiler run breaks when inca-ip_sw.o is included. Somebody might want
> to find the real reason...
My fault. The file will show up in CVS soon.
> - mkimage should work when being called from _everywhere_...
Where is the problem?
> diff -urN -x CVS -x ptx-patches -x logfile -x logfile1 u-boot/tools/mkimage.c u-boot-ptx/tools/mkimage.c
> --- u-boot/tools/mkimage.c 2002-12-19 09:19:19.000000000 +0100
> +++ u-boot-ptx/tools/mkimage.c 2002-12-19 09:22:12.000000000 +0100
> @@ -17,6 +17,7 @@
> #include <sys/stat.h>
> #include <time.h>
> #include <unistd.h>
> +#include <libgen.h>
>
> #if defined(__BEOS__) || defined(__NetBSD__) || defined(__APPLE__)
> #include <inttypes.h>
> @@ -156,7 +157,7 @@
> unsigned char *ptr;
> char *name = "";
>
> - cmdname = *argv;
> + cmdname = basename(*argv);
cmdname is used only in error messages, and I _want_ it to print
argv[0], nut just the basenamen.
Rejected.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
The price of curiosity is a terminal experience.
- Terry Pratchett, _The Dark Side of the Sun_
^ permalink raw reply [flat|nested] 3+ messages in thread* [U-Boot-Users] [PATCH] 5/9: general
2003-03-06 13:14 ` Wolfgang Denk
@ 2003-03-07 13:29 ` Robert Schwebel
0 siblings, 0 replies; 3+ messages in thread
From: Robert Schwebel @ 2003-03-07 13:29 UTC (permalink / raw)
To: u-boot
On Thu, Mar 06, 2003 at 02:14:15PM +0100, Wolfgang Denk wrote:
> cmdname is used only in error messages, and I _want_ it to print
> argv[0], nut just the basenamen.
>
> Rejected.
Hmm, strange, I remember that I had problems some time ago, but now it
seems to work without the patch.
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Braunschweiger Str. 79, 31134 Hildesheim, Germany
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-03-07 13:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-06 12:34 [U-Boot-Users] [PATCH] 5/9: general Robert Schwebel
2003-03-06 13:14 ` Wolfgang Denk
2003-03-07 13:29 ` Robert Schwebel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox