From: tmk Date: Wed, 4 Dec 2019 23:57:41 +0000 (+0900) Subject: ibmpc_usb: Fix Makefiles X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=5a759850ff030648a35fd9b2959efedff4aa5683;p=max%2Ftmk_keyboard.git ibmpc_usb: Fix Makefiles --- diff --git a/converter/ibmpc_usb/Makefile b/converter/ibmpc_usb/Makefile index 636cb324..fd04541c 100644 --- a/converter/ibmpc_usb/Makefile +++ b/converter/ibmpc_usb/Makefile @@ -63,8 +63,9 @@ OPT_DEFS += -DSUSPEND_MODE_STANDBY # Atmel DFU loader 4096 # LUFA bootloader 4096 # USBaspLoader 2048 -BOOTLOADER_SIZE ?= 4096 -OPT_DEFS += -DBOOTLOADER_SIZE=$(BOOTLOADER_SIZE) +# Bootloader size can be calculated from fuse bits +#BOOTLOADER_SIZE ?= 4096 +#OPT_DEFS += -DBOOTLOADER_SIZE=$(BOOTLOADER_SIZE) # Build Options diff --git a/converter/ibmpc_usb/Makefile.at90usb1286 b/converter/ibmpc_usb/Makefile.at90usb1286 index 9eb588aa..439dbff6 100644 --- a/converter/ibmpc_usb/Makefile.at90usb1286 +++ b/converter/ibmpc_usb/Makefile.at90usb1286 @@ -1,4 +1,4 @@ +TARGET = ibmpc_usb_at90usb1286 MCU = at90usb1286 -BOOTLOADER_SIZE = 8192 include Makefile diff --git a/converter/ibmpc_usb/Makefile.atmega32u2 b/converter/ibmpc_usb/Makefile.atmega32u2 index 53475b3a..83e5c3df 100644 --- a/converter/ibmpc_usb/Makefile.atmega32u2 +++ b/converter/ibmpc_usb/Makefile.atmega32u2 @@ -1,3 +1,4 @@ +TARGET = ibmpc_usb_atmega32u2 MCU = atmega32u2 include Makefile diff --git a/converter/ibmpc_usb/Makefile.atmega32u4 b/converter/ibmpc_usb/Makefile.atmega32u4 index ba4ec743..f63c9896 100644 --- a/converter/ibmpc_usb/Makefile.atmega32u4 +++ b/converter/ibmpc_usb/Makefile.atmega32u4 @@ -1,3 +1,4 @@ +TARGET = ibmpc_usb_atmega32u4 MCU = atmega32u4 include Makefile