Commit 1d01d9d6 authored by Claes's avatar Claes Committed by Esteban Blanc

Python modules build fix on arm

parent 4627854e
...@@ -42,6 +42,8 @@ $(exe_dir)/pwrrt.so : pwrrtmodule.c ...@@ -42,6 +42,8 @@ $(exe_dir)/pwrrt.so : pwrrtmodule.c
mv $(bld_dir)/lib.linux-x86_64-2.7/pwrrt.so $(pwr_exe); \ mv $(bld_dir)/lib.linux-x86_64-2.7/pwrrt.so $(pwr_exe); \
elif [ "$(pwre_hw)" = "hw_x86" ]; then \ elif [ "$(pwre_hw)" = "hw_x86" ]; then \
mv $(bld_dir)/lib.linux-i686-2.7/pwrrt.so $(pwr_exe); \ mv $(bld_dir)/lib.linux-i686-2.7/pwrrt.so $(pwr_exe); \
elif [ "$(pwre_hw)" = "hw_arm" ]; then \
mv $(bld_dir)/lib.linux-armv7l-2.7/pwrrt.so $(pwr_exe); \
fi;\ fi;\
python setup_pwrrt.py -q install_egg_info --install-dir $(pwr_exe);\ python setup_pwrrt.py -q install_egg_info --install-dir $(pwr_exe);\
else\ else\
......
...@@ -42,6 +42,8 @@ $(exe_dir)/pwrtest.so : pwrtestmodule.cpp ...@@ -42,6 +42,8 @@ $(exe_dir)/pwrtest.so : pwrtestmodule.cpp
mv $(bld_dir)/lib.linux-x86_64-2.7/pwrtest.so $(pwr_exe); \ mv $(bld_dir)/lib.linux-x86_64-2.7/pwrtest.so $(pwr_exe); \
elif [ "$(pwre_hw)" = "hw_x86" ]; then \ elif [ "$(pwre_hw)" = "hw_x86" ]; then \
mv $(bld_dir)/lib.linux-i686-2.7/pwrtest.so $(pwr_exe); \ mv $(bld_dir)/lib.linux-i686-2.7/pwrtest.so $(pwr_exe); \
elif [ "$(pwre_hw)" = "hw_arm" ]; then \
mv $(bld_dir)/lib.linux-armv7l-2.7/pwrtest.so $(pwr_exe); \
fi;\ fi;\
python setup_pwrtest.py -q install_egg_info --install-dir $(pwr_exe);\ python setup_pwrtest.py -q install_egg_info --install-dir $(pwr_exe);\
else\ else\
......
...@@ -42,6 +42,8 @@ $(exe_dir)/pwrwb.so : pwrwbmodule.cpp ...@@ -42,6 +42,8 @@ $(exe_dir)/pwrwb.so : pwrwbmodule.cpp
mv $(bld_dir)/lib.linux-x86_64-2.7/pwrwb.so $(pwr_exe); \ mv $(bld_dir)/lib.linux-x86_64-2.7/pwrwb.so $(pwr_exe); \
elif [ "$(pwre_hw)" = "hw_x86" ]; then \ elif [ "$(pwre_hw)" = "hw_x86" ]; then \
mv $(bld_dir)/lib.linux-i686-2.7/pwrwb.so $(pwr_exe); \ mv $(bld_dir)/lib.linux-i686-2.7/pwrwb.so $(pwr_exe); \
elif [ "$(pwre_hw)" = "hw_arm" ]; then \
mv $(bld_dir)/lib.linux-armv7l-2.7/pwrwb.so $(pwr_exe); \
fi;\ fi;\
python setup_pwrwb.py -q install_egg_info --install-dir $(pwr_exe);\ python setup_pwrwb.py -q install_egg_info --install-dir $(pwr_exe);\
else\ else\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment