Makefile enthält Alternativcode für Rock64/ARMv6

This commit is contained in:
Klaus Wendel, archium GmbH 2024-03-22 12:57:56 +01:00
parent b2948546dc
commit 14be3c97fa

View File

@ -10,7 +10,9 @@ unzip:
7z -y x snap7-full-1.4.2.7z snap7-full-1.4.2 7z -y x snap7-full-1.4.2.7z snap7-full-1.4.2
compile: compile:
# cd ./snap7-full-1.4.2/build/unix/ && make -f arm_v6_linux.mk all
cd ./snap7-full-1.4.2/build/unix/ && make -f x86_64_linux.mk all cd ./snap7-full-1.4.2/build/unix/ && make -f x86_64_linux.mk all
# echo "$(shell pwd )/snap7-full-1.4.2/build/bin/arm_v6-linux/" > /etc/ld.so.conf.d/snap7.conf && ldconfig
echo "$(shell pwd )/snap7-full-1.4.2/build/bin/x86_64-linux/" > /etc/ld.so.conf.d/snap7.conf && ldconfig echo "$(shell pwd )/snap7-full-1.4.2/build/bin/x86_64-linux/" > /etc/ld.so.conf.d/snap7.conf && ldconfig
chown 1000:1001 snap7-full-1.4.2* -R chown 1000:1001 snap7-full-1.4.2* -R