summaryrefslogtreecommitdiffstats
path: root/package/openssl/openssl.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-07-05 07:25:06 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-07-05 07:25:06 +0000
commitedbe9d1672874197cb5dd9666d4939fcfcef7134 (patch)
tree681bcc0a9128650f263f480f881c3f555fd34508 /package/openssl/openssl.mk
parentdef8b8d12db954916e37edf09d9f3598f7645784 (diff)
downloadbuildroot-novena-edbe9d1672874197cb5dd9666d4939fcfcef7134.tar.gz
buildroot-novena-edbe9d1672874197cb5dd9666d4939fcfcef7134.zip
Fix bug [1899] Add table entry to allow openssl to build for AVR32, disabled softfloat
Diffstat (limited to 'package/openssl/openssl.mk')
-rw-r--r--package/openssl/openssl.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index c47fe0948..b57c7acf0 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -31,10 +31,13 @@ openssl-unpack: $(OPENSSL_DIR)/.unpacked
$(OPENSSL_DIR)/.unpacked: $(DL_DIR)/$(OPENSSL_SOURCE)
$(OPENSSL_CAT) $(DL_DIR)/$(OPENSSL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(OPENSSL_DIR) package/openssl/ openssl\*.patch
+ toolchain/patch-kernel.sh $(OPENSSL_DIR) package/openssl/ openssl\*.patch.$(ARCH)
# sigh... we have to resort to this just to set a gcc flag.
# grumble.. and of course make sure to escape any '/' in CFLAGS
+ifeq ($(BR2_avr32),)
$(SED) 's,/CFLAG=,/CFLAG= $(TARGET_SOFT_FLOAT) ,g' \
$(OPENSSL_DIR)/Configure
+endif
$(SED) '/CFLAG=/s,/;, $(shell echo '$(TARGET_CFLAGS)' | sed -e 's/\//\\\\\//g')/;,' \
$(OPENSSL_DIR)/Configure
$(CONFIG_UPDATE) $(OPENSSL_DIR)