ambed install and how to tell # of processors

pull/1/head
Tom Early 6 years ago
parent 8be37f8c99
commit d64ef0ac33

@ -37,9 +37,9 @@ clean :
-include $(DEPS)
# The install and uninstall targets need to be run by root
install : $(EXE) $(EXE).service
install : $(EXE)
cp $(EXE) $(BINDIR)
cp $(EXE).service /etc/systemd/system/
cp ../ambed/$(EXE).service /etc/systemd/system/
systemctl enable ambed
systemctl daemon-reload
systemctl start ambed

@ -85,7 +85,7 @@ Clean () {
Compile () {
local np
WriteCFGFiles
np=`cat /proc/cpuinfo | grep "model name" | wc -l`
np=`getconf _NPROCESSORS_ONLN`
cd src
make -j$np
cd ..

Loading…
Cancel
Save

Powered by TurnKey Linux.