diff options
author | Lars Hagström | 2017-01-06 16:06:05 +0100 |
---|---|---|
committer | Lars Hagström | 2017-01-06 16:06:05 +0100 |
commit | 36b03a35c4b1a384f3388655e535e292d84e8641 (patch) | |
tree | b88a0d7091a05d6afdea1cea3cbb4dc27634e611 /adapt_to_arch.patch | |
download | aur-36b03a35c4b1a384f3388655e535e292d84e8641.tar.gz |
First version of the package
Diffstat (limited to 'adapt_to_arch.patch')
-rw-r--r-- | adapt_to_arch.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/adapt_to_arch.patch b/adapt_to_arch.patch new file mode 100644 index 000000000000..c1ea0b1a877e --- /dev/null +++ b/adapt_to_arch.patch @@ -0,0 +1,26 @@ +diff --git a/boards.txt b/boards.txt +index 1a49c81..8b78040 100644 +--- a/boards.txt ++++ b/boards.txt +@@ -32,7 +32,7 @@ model01.build.pid=0x2301 + model01.build.usb_product="Model 01" + model01.build.usb_manufacturer="Keyboardio" + model01.build.board=AVR_MODEL01 +-model01.build.core=arduino:arduino ++model01.build.core=archlinux-arduino:arduino + model01.build.variant=model01 + model01.build.extra_flags={build.usb_flags} + +diff --git a/platform.txt b/platform.txt +index 91f16f8..d02c738 100644 +--- a/platform.txt ++++ b/platform.txt +@@ -18,7 +18,7 @@ compiler.warning_flags.more=-Wall + compiler.warning_flags.all=-Wall -Wextra + + # Default "compiler.path" is correct, change only if you want to override the initial value +-compiler.path={runtime.tools.avr-gcc.path}/bin/ ++#compiler.path={runtime.tools.avr-gcc.path}/bin/ + compiler.c.cmd=avr-gcc + compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD + compiler.c.elf.flags={compiler.warning_flags} -Os -Wl,--gc-sections |