summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRicardo Crudo <ricardo.crudo@gmail.com>2014-06-07 14:03:45 -0300
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-06-07 19:27:55 +0200
commitcf3e0860e3909a159bba1e49f7ba93ba05a66393 (patch)
tree26beb388ca3d09e280bec5a9f013e28267cc23a0 /packages
parentea9eecec7b7c09d339f97713d7a57f9014f7ee90 (diff)
downloadembtoolkit-cf3e0860e3909a159bba1e49f7ba93ba05a66393.tar.gz
embtoolkit-cf3e0860e3909a159bba1e49f7ba93ba05a66393.tar.bz2
embtoolkit-cf3e0860e3909a159bba1e49f7ba93ba05a66393.tar.xz
Packages: openblas: fix download and Makefile editing
Signed-off-by: Ricardo Crudo <ricardo.crudo@gmail.com> Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'packages')
-rw-r--r--packages/development/openblas/openblas.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/development/openblas/openblas.mk b/packages/development/openblas/openblas.mk
index bcbc359..7611070 100644
--- a/packages/development/openblas/openblas.mk
+++ b/packages/development/openblas/openblas.mk
@@ -53,6 +53,8 @@ OPENBLAS_MAKE_ENV += TARGET=$(pembtk_openblas_target)
define embtk_beforeinstall_openblas
$(if $(pembtk_openblas_armfpu),
+ [ -e $(OPENBLAS_SRC_DIR)/Makefile.arm.bak ] && \
+ cp $(OPENBLAS_SRC_DIR)/Makefile.arm.bak $(OPENBLAS_SRC_DIR)/Makefile.arm || true
cp $(OPENBLAS_SRC_DIR)/Makefile.arm $(OPENBLAS_SRC_DIR)/Makefile.arm.bak
sed -e 's/-mfpu=[[:alnum:]]*/-mfpu=$(pembtk_openblas_armfpu)/g' \
< $(OPENBLAS_SRC_DIR)/Makefile.arm \
@@ -61,6 +63,6 @@ define embtk_beforeinstall_openblas
endef
define embtk_install_openblas
- $(embtk_beforeinstall_openblas)
- $(call embtk_makeinstall_pkg,openblas)
+ $(call embtk_download_pkg,openblas)
+ $(call embtk_makeinstall_pkg,openblas)
endef