summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Richter <github@syntax-fehler.de>2011-06-22 00:15:03 +0200
committerFelix Richter <github@syntax-fehler.de>2011-06-22 00:15:03 +0200
commitf4acc6cc3d57be693bc79ec28ca05587f9d72b69 (patch)
treec7b1ff2bf1f73cd0a26faf5278cdfed40e9ff3bf
parentdda7277f37d4f8ffaa334b528fd63f4389cf966b (diff)
Makefile: does more of the right things now
Makefile will patch quirks from the live system: 1. /etc/init.d/live-boot 2. ati_license Makefile will install and configure lm-sensors
-rw-r--r--btc/mining/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/btc/mining/Makefile b/btc/mining/Makefile
index c673ee3e..0fab7b1f 100644
--- a/btc/mining/Makefile
+++ b/btc/mining/Makefile
@@ -1,11 +1,18 @@
.PHONY: all format install
select-target:
@echo "You are made of stupid!"
+ echo "look here"
+ @cat Makefile
format:
cat README
install:
+ apt-get install --yes lm-sensors
echo '#!/bin/bash' > /usr/bin/ati_license
+ echo '#!/bin/sh' > /etc/init.d/live-boot
+ echo 'wall "going down"' >> /etc/init.d/live-boot
+ chmod 755 /etc/init.d/live-boot
echo 'sudo tar xvf /opt/AMD-APP-SDK-v2.4-lnx64/icd-registration.tgz -C /' >> /usr/bin/ati_license
cp -r user /home
configure:
- cat CONFIGURE
+ sensors-detect
+ @cat CONFIGURE