Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 1998 20:08:04 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        peter@netplex.com.au, rnordier@nordier.com
Cc:        committers@FreeBSD.ORG, rnordier@FreeBSD.ORG, skynyrd@opus.cts.cwu.edu
Subject:   Re: cvs commit: src/sys/boot/i386 Makefile
Message-ID:  <199810101008.UAA22994@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> By the way, it is possible to set $OBJFORMAT (the environment variable) in 
>> a Makefile.  This might be an idea for sys/boot/Makefile and
>> sys/i386/boot/Makefile
>> 
>> Is this worth doing?  For example:
>> [ ... ]
>
>That's a useful technique I wasn't aware of.
>
>For /sys/i386/boot, which is completely oriented to a.out, it seems
>the ideal solution.

No, ideal for changing the default a whole subtree is to put the change
in Makefile.inc at the top of the tree and inherit this recursively.
The MAKEFLAGS hack fails for normal builds (when `make' is run in a leaf
directory) because it doesn't affect the current invocation of make.

Only the setting of LIBDIR in bsd.own.mk is wrong if a Makefile[.inc]
changes OBJFORMAT.  This is fairly harmless except for installng libraries.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810101008.UAA22994>