aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGergő J. Miklós2020-10-09 02:39:29 +0200
committerGergő J. Miklós2020-10-09 02:39:29 +0200
commit6bbb8b9e6639125b5539bd8d14e422a9c79c3f0a (patch)
tree852c56cc717c11260eaa8ddd4e684cb20f08ea64 /Makefile
parente6d02c5809381911236d6384ff5826e419de9939 (diff)
downloadi2sensors-6bbb8b9e6639125b5539bd8d14e422a9c79c3f0a.tar.gz
i2sensors-6bbb8b9e6639125b5539bd8d14e422a9c79c3f0a.zip
Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0c9b0c1..c913718 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,9 @@ armhf:
x86:
$(CC) $(CFLAGS) src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors
+geode:
+ $(CC) $(CFLAGS) -m32 -mtune=geode -march=geode src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors
+
copy:
scp -r build/i2sensors-armhf root@cb2:/tmp/i2sensors
# rsync -aHv -q -e "ssh" build/i2sensors-arm root@cb2:/tmp/i2sensors