On Friday 21 December 2007, Riaz Ur Rahaman wrote:
> Mike Frysinger wrote:
> > On Friday 21 December 2007, riazrahaman wrote:
> >> I have move the config.mk inclusion to the start of a the makefile.
> >> The reason for doing this is that the config.mk would have configurati=
> >> settings for my custom tool chain which I would want to set first.
> > which doesnt make sense why you would move it. config.mk comes *after*
> > the defaults so people can freely modify the defaults. by you moving it
> > to the beginning, that explicit control is lost.
> As per the comments in the Makefile
> /_*# Alternately, to override them by editing this file, uncomment the
> # following lines:*
> _# CROSS_COMPILER=3D/opt/ppc64/powerpc64-linux/bin/powerpc64-linux-
> # CROSS_CFLAGS=3D -mpowerpc64
> # LDFLAGS=3D-static
> # LOADLIBES=3D-lpthread -lc -lresolv -lnss_dns -lnss_files -lm -lc
> # LIB_DIR=3D/lib64
> # export LOADLIBES LIB_DIR
> # Or, you can save all your settings into the local '_*config.mk*_' file.
> # Just use the same syntax as above for the Makefile.
so this comment is a lie ... you cannot leverage config.mk exactly the same=
if you edited the top of the Makefile file. i'll change the comment.