From 5a759850ff030648a35fd9b2959efedff4aa5683 Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 5 Dec 2019 08:57:41 +0900 Subject: [PATCH] ibmpc_usb: Fix Makefiles --- converter/ibmpc_usb/Makefile | 5 +++-- converter/ibmpc_usb/Makefile.at90usb1286 | 2 +- converter/ibmpc_usb/Makefile.atmega32u2 | 1 + converter/ibmpc_usb/Makefile.atmega32u4 | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) 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 -- 2.46.2