summaryrefslogtreecommitdiffstats
path: root/package/openssl
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-07-29 21:49:45 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-07-29 21:49:45 +0200
commit2a966bcd3bbf0323add5bc5426107bb3af24767d (patch)
tree4316f47e800bc633233cd7bd7a353f91587dad95 /package/openssl
parent7a1a334c4216e2d105ceb6b2eceaa8986627ae67 (diff)
downloadbuildroot-novena-2a966bcd3bbf0323add5bc5426107bb3af24767d.tar.gz
buildroot-novena-2a966bcd3bbf0323add5bc5426107bb3af24767d.zip
openssl: fix arch handling
Closes #497 Use ARCH instead of BR2_ARCH as BR2_ARCH won't match because of the surrounding quotes. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/openssl')
-rw-r--r--package/openssl/openssl.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index a0e6f7e54..16938f47f 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -9,16 +9,16 @@ OPENSSL_SITE:=http://www.openssl.org/source
OPENSSL_TARGET_ARCH=generic32
# Some architectures are optimized in OpenSSL
-ifeq ($(BR2_ARCH),avr32)
+ifeq ($(ARCH),avr32)
OPENSSL_TARGET_ARCH=avr32
endif
-ifeq ($(BR2_ARCH),ia64)
+ifeq ($(ARCH),ia64)
OPENSSL_TARGET_ARCH=ia64
endif
-ifeq ($(BR2_ARCH),powerpc)
+ifeq ($(ARCH),powerpc)
OPENSSL_TARGET_ARCH=ppc
endif
-ifeq ($(BR2_ARCH),x86_64)
+ifeq ($(ARCH),"x86_64")
OPENSSL_TARGET_ARCH=x86_64
endif