[Buildroot] [PATCH 1/1] fix host-openssl binary installation
Peter Korsgaard
peter at korsgaard.com
Fri Feb 19 10:36:14 UTC 2016
>>>>> "matthew" == matthew amlogic shyu <matthew.shyu.amlogic at gmail.com> writes:
Hi,
>> But we only pass INSTALL_PREFIX=$(STAGING_DIR)/usr during the
>> make-install-to-staging step, and not when we configure/build/install
>> the host variant:
>>
>> define OPENSSL_INSTALL_STAGING_CMDS
>> $(MAKE) -C $(@D) INSTALL_PREFIX=$(STAGING_DIR) install
>> endef
>>
>> define HOST_OPENSSL_INSTALL_CMDS
>> $(MAKE) -C $(@D) install
>> endef
>>
>> define OPENSSL_INSTALL_TARGET_CMDS
>> $(MAKE) -C $(@D) INSTALL_PREFIX=$(TARGET_DIR) install
>> rm -rf $(TARGET_DIR)/usr/lib/ssl
>> rm -f $(TARGET_DIR)/usr/bin/c_rehash
>> endef
>>
>> So I'm still not sure what you are trying to solve?
> Ha, you're right!
> I found that I have a stupid package inside my Buildroot tree that's
> exporting INSTALL_PREFIX during the build and thus messing up my
> environment.
> There's nothing wrong with host-openssl package.
Ahh, that explains it ;)
> My bad. Sorry.
No problem. I've marked you patch as rejected in patchwork.
--
Venlig hilsen,
Peter Korsgaard
More information about the buildroot
mailing list