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
commitee40442b6e12ddc3aaf8489aceaf666626a1aa63 (patch)
treea7e5f1448ef812310cbf9219f87e8d3a509227df
parent0191c71281788c047d0ddcf559ee918f6a2829d0 (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