* [Buildroot] svn commit: [26226] trunk/buildroot/package/openssl
@ 2009-04-28 18:30 jacmet at uclibc.org
2009-04-28 21:05 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: jacmet at uclibc.org @ 2009-04-28 18:30 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2009-04-28 18:30:06 +0000 (Tue, 28 Apr 2009)
New Revision: 26226
Log:
package/openssl: make sure TARGET_CFLAGS are used
And remove the unnedded c_rehash binary while we're at it.
Patch by Gustavo Zacarias <gustavo@zacarias.com.br>, closes #307.
Saves ~250k on PPC with default config (E.G. -Os)
Modified:
trunk/buildroot/package/openssl/openssl.mk
Changeset:
Modified: trunk/buildroot/package/openssl/openssl.mk
===================================================================
--- trunk/buildroot/package/openssl/openssl.mk 2009-04-28 17:33:44 UTC (rev 26225)
+++ trunk/buildroot/package/openssl/openssl.mk 2009-04-28 18:30:06 UTC (rev 26226)
@@ -46,6 +46,8 @@
no-rc5 \
zlib-dynamic \
)
+ $(SED) "s:-march=[-a-z0-9] ::" -e "s:-mcpu=[-a-z0-9] ::g" $(OPENSSL_DIR)/Makefile
+ $(SED) "s:-O[0-9]:$(TARGET_CFLAGS):" $(OPENSSL_DIR)/Makefile
touch $@
$(OPENSSL_TARGET_BUILD):
@@ -61,9 +63,9 @@
# libraries gets installed read only, so strip fails
for i in $(addprefix $(TARGET_DIR)/usr/lib/,libcrypto.so.* libssl.so.*); \
do chmod +w $$i; $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $$i; done
- rm -f $(TARGET_DIR)/usr/bin/c_rehash
rm -f $(TARGET_DIR)/usr/bin/openssl
endif
+ rm -f $(TARGET_DIR)/usr/bin/c_rehash
ifneq ($(BR2_PACKAGE_OPENSSL_ENGINES),y)
rm -rf $(TARGET_DIR)/usr/lib/engines
else
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] svn commit: [26226] trunk/buildroot/package/openssl
2009-04-28 18:30 [Buildroot] svn commit: [26226] trunk/buildroot/package/openssl jacmet at uclibc.org
@ 2009-04-28 21:05 ` Thomas Petazzoni
2009-04-28 21:22 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2009-04-28 21:05 UTC (permalink / raw)
To: buildroot
Le Tue, 28 Apr 2009 18:30:06 +0000 (UTC),
jacmet at uclibc.org a ?crit :
> package/openssl: make sure TARGET_CFLAGS are used
I confirm that this patch fixes OpenSSL build with external toolchain.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] svn commit: [26226] trunk/buildroot/package/openssl
2009-04-28 21:05 ` Thomas Petazzoni
@ 2009-04-28 21:22 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2009-04-28 21:22 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> Le Tue, 28 Apr 2009 18:30:06 +0000 (UTC),
Thomas> jacmet at uclibc.org a ?crit :
>> package/openssl: make sure TARGET_CFLAGS are used
Thomas> I confirm that this patch fixes OpenSSL build with external toolchain.
Great, thanks!
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-28 21:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28 18:30 [Buildroot] svn commit: [26226] trunk/buildroot/package/openssl jacmet at uclibc.org
2009-04-28 21:05 ` Thomas Petazzoni
2009-04-28 21:22 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox