From: lucasjin Date: Thu, 30 Mar 2006 13:27:07 +0800 (CST) Subject: [U-Boot-Users] about some variables in Makefile Message-ID: <442B6C2B.00000A.19403@m185.126.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi guys: I am a beginner of U-Boot, and now I am trying to understand the Makefiles. There are some variables in the Makefile under the top directory, which are used without being defined and initiated. For example: PLATFORM_LIBS: "PLATFORM_LIBS += --no-warn-mismatch -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc", and OBJCFLAGS: "$(OBJCOPY) ${OBJCFLAGS} -O srec $< $@". I've checked all the *.mk which are included directly or indirectly by this Makefile and have not find any defination or initiation. I also have made sure that they are not environment variables of LINUX. I'm so wondering. If anyone could give me an explaination, I will appreciate it so much! Best Wishes Lucas Jin lucasjin@126.com 2006-03-29 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.denx.de/pipermail/u-boot/attachments/20060330/60543c44/attachment.htm