[Buildroot] [PATCH 1/1] fix host-openssl binary installation

Peter Korsgaard peter at korsgaard.com
Wed Feb 17 15:02:57 UTC 2016


>>>>> "Matthew" == Matthew Shyu <matthew.shyu.amlogic at gmail.com> writes:

 > From: Matthew Shyu <matthew.shyu at amlogic.com>
 > The Configure script in openssl takes install_prefix from env by default
 > $install_prefix= "$ENV{'INSTALL_PREFIX'}"
 > However, the INSTALL_PREFIX points to *TARGET* folder instead of
 > *HOST* folder.
 > This is fixed by intentionally setting install_prefix to blank.

Sorry, I'm not following you here. Do you mean that you have exported
INSTALL_PREFIX=<something> in your environment outside Buildroot? We do
indeed pass INSTALL_PREFIX to make install when we install the target
version to staging/target, but I don't see the relation to the host
variant?


> Signed-off-by: Matthew Shyu <matthew.shyu at amlogic.com>
 > ---
 >  package/openssl/openssl.mk |    1 +
 >  1 file changed, 1 insertion(+)

 > diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
 > index b7498a7..c35e93f 100644
 > --- a/package/openssl/openssl.mk
 > +++ b/package/openssl/openssl.mk
 > @@ -63,6 +63,7 @@ define HOST_OPENSSL_CONFIGURE_CMDS
 >  		$(HOST_CONFIGURE_OPTS) \
 >  		./config \
 >  		--prefix=$(HOST_DIR)/usr \
 > +		--install_prefix= \
 >  		--openssldir=$(HOST_DIR)/etc/ssl \
 >  		--libdir=/lib \
 >  		shared \
 > -- 
 > 1.7.9.5

 > _______________________________________________
 > buildroot mailing list
 > buildroot at busybox.net
 > http://lists.busybox.net/mailman/listinfo/buildroot


-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list