On Mon, 2005-08-29 at 09:45 +0200, magicfox wrote:
Li-Ta Lo wrote :
??? Somebody "fixed" the problem in the wrong way?
Of course me ! ;-)
I have to define udelay for emulation/qemu-i386, else i get: mainboard/emulation/qemu-i386/auto.c -o auto.inc delay.c:6.23: udelay undeclared make[1]: *** [auto.inc] Error 1
ibm/e325 compile fine with original svn version 2009 What is the good way to correct problem with udelay ?
My last patch wasn't correct string version containing "'" who is breaking make process. This new one do that. Please test it and apply.
Best regards
I am no expert in seg/regex, are you sure your fix works for some other language environment too? Someone in some Taiwanese mainboard company met the same problem a few days ago.
--- LinuxBIOSv2/src/config/Config.lb.orig Tue Aug 2 18:28:38 2005 +++ LinuxBIOSv2/src/config/Config.lb Sun Aug 28 23:15:50 2005 @@ -4,7 +4,7 @@
makedefine CPP:= $(CC) -x assembler-with-cpp -DASSEMBLY -E makedefine LIBGCC_FILE_NAME := $(shell $(CC) -print-libgcc-file-name) -makedefine GCC_INC_DIR := $(shell $(CC) -print-search-dirs | sed -ne "s/install: (.*)/\1include/gp") +makedefine GCC_INC_DIR := $(shell $(CC) -print-search-dirs | sed -ne '1s/.* (.*)/\1include/p')
makedefine CPPFLAGS := -I$(TOP)/src/include -I$(TOP)/src/arch/$(ARCH)/include -I$(GCC_INC_DIR) $(CPUFLAGS) makedefine CFLAGS := $(CPU_OPT) $(CPPFLAGS) -Os -nostdinc -nostdlib -fno-builtin -Wall --- LinuxBIOSv2/src/config/Options.lb.orig Wed Aug 24 11:59:46 2005 +++ LinuxBIOSv2/src/config/Options.lb Sun Aug 28 23:55:59 2005 @@ -152,7 +152,7 @@ comment "Build linker" end define LINUXBIOS_ASSEMBLER
- default "$(shell touch dummy.s ; $(CC) -c -Wa,-v dummy.s 2>&1; rm -f
dummy.s dummy.o )"
- default "$(shell touch dummy.s ; $(CC) -c -Wa,-v dummy.s 2>&1 | sed
-e 's/(.*)//g' -e "s/'//g"; rm -f dummy.s dummy.o )" export always format ""%s"" comment "Build assembler"