Not sure about the rest, but unless you are explicitly
including MAKEFLAGS in your sub-make commands, the following
won't achieve much.
>MAKEFLAGS+= MACHINE_ENDIAN="${MACHINE_ENDIAN}"
If using netbsd's make you can do:
.MAKEOVERRIDES+= MACHINE_ENDIAN
to get what you want.
--sjg