Skip to contentSkip to conversation

about some variables in Makefile

U-Boot-Users lucasjin 1 participant 1 message Mar 30, 2006

lore
Share & tools
lore

lucasjin

author
#0 lore raw

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

[email protected]

                        2006-03-29

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060330/60543c44/attachment.htm