
Hello Wolfgang, sorry, again it's an own board, based on MPC8315ERDB. The tree is u-boot |---build |---u-boot-2009.03
The makefile in u-boot which I use to build:
#---------------------------------------- export BUILD_DIR:=$(shell pwd)/build export SRC_DIR:=$(shell pwd)/u-boot-2009.03
all: CROSS_COMPILE=powerpc-unknown-linux-gnu- make -C $(SRC_DIR) F302P_config CROSS_COMPILE=powerpc-unknown-linux-gnu- make -C $(SRC_DIR)
install:
clean: rm -rf $(BUILD_DIR)
distclean: clean
#----------------------------------------
Bets regards Guenter
-----Ursprüngliche Nachricht----- Von: Wolfgang Denk [mailto:wd@denx.de] Gesendet: Dienstag, 14. April 2009 17:48 An: Günter Leonhardt Cc: u-boot@lists.denx.de Betreff: Re: [U-Boot] Compiler error with BUILD_DIR
Dear Guenter,
In message D0B748CCD5DF144CA5C56A9D860A31341DE5FB@men-exch1.intra.men.de you wrote:
Hello, I'am getting an compiler error if I use a seperate BUILD_DIR: /home/gl/swserver/work/LINUX/ELINOS_PROJECTS/ELINOS_50/demoF302P/src/u -boot> /build/tools/fdt.c:81: error: conflicting types for âfdt_offset_ptrâ /usr/include/../include/libfdt.h:125: error: previous declaration of âfdt> _offset_ptrâ was here because I have installed a different version of the dtc.
Which boared configuration is this?
If I build u-boot without a seperate BUILD_DIR, I get no error.
I'am using u-boot-2009.03.
And what about the current top of tree?
Best regards,
Wolfgang Denk