[Buildroot] [PATCH 3/3] make: install host-make as host-make

Peter Korsgaard peter at korsgaard.com
Mon Nov 19 14:56:48 UTC 2018


>>>>>   <yann.morin at orange.com> writes:

Hi,

 >> +# Rename host-make binary to ensure it isn't accidently used by
 >> +# packages when they invoke recursive / sub-make.
 >> +define HOST_MAKE_RENAME_BINARY
 >> +	mv $(HOST_DIR)/bin/make $(HOST_DIR)/bin/host-make
 >> +endef
 >> +HOST_MAKE_POST_INSTALL_HOOKS += HOST_MAKE_RENAME_BINARY

 > Why not simply:

 >     HOST_MAKE_CONF_OPTS += --program-prefix=host-

Ehh, because I wasn't aware of it. I'll give it a try - Thanks.

 > Regards,
 > Yann E. MORIN.

 > PS. Let's see if I can post from this email, now! ;-)

It works! ;)

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list