aboutsummaryrefslogtreecommitdiff
path: root/packaging/fedora
diff options
context:
space:
mode:
authorSudar <sudar@sudarmuthu.com>2014-04-21 10:52:04 +0530
committerSudar <sudar@sudarmuthu.com>2014-04-21 10:52:04 +0530
commit70af7d49ec98da201792353ebb325ce2a2b13961 (patch)
tree6ddddbcfee1383f9757c9a22292a370cded388a4 /packaging/fedora
parentaa4c96ce50aca9a98abbe8b0acb334f74f500d57 (diff)
parentcbe3011711c2db8c7159cb66574173fcf80e4f43 (diff)
Merge pull request #193 from sej7278/master
Add easier ccache workaround for Fedora
Diffstat (limited to 'packaging/fedora')
-rw-r--r--packaging/fedora/README.md22
1 files changed, 13 insertions, 9 deletions
diff --git a/packaging/fedora/README.md b/packaging/fedora/README.md
index 726dc87..f024a20 100644
--- a/packaging/fedora/README.md
+++ b/packaging/fedora/README.md
@@ -24,12 +24,16 @@ Then compile. This will create a binary and source RPM:
Fedora's AVR compilers use ccache, so you may have to override some of the paths to the AVR tools in your sketch's Makefile, for example:
- OVERRIDE_EXECUTABLES = 1
- CC = /usr/lib64/ccache/$(CC_NAME)
- CXX = /usr/lib64/ccache/$(CXX_NAME)
- AS = /usr/bin/$(AS_NAME)
- OBJCOPY = /usr/bin/$(OBJCOPY_NAME)
- OBJDUMP = /usr/bin/$(OBJDUMP_NAME)
- AR = /usr/bin/$(AR_NAME)
- SIZE = /usr/bin/$(SIZE_NAME)
- NM = /usr/bin/$(NM_NAME)
+```Makefile
+OVERRIDE_EXECUTABLES = 1
+CC = /usr/lib64/ccache/$(CC_NAME)
+CXX = /usr/lib64/ccache/$(CXX_NAME)
+AS = /usr/bin/$(AS_NAME)
+OBJCOPY = /usr/bin/$(OBJCOPY_NAME)
+OBJDUMP = /usr/bin/$(OBJDUMP_NAME)
+AR = /usr/bin/$(AR_NAME)
+SIZE = /usr/bin/$(SIZE_NAME)
+NM = /usr/bin/$(NM_NAME)
+```
+
+Or if you don't want to use ccache, then just set ```AVR_TOOLS_PATH=/usr``` and none of the above will be necessary.