It is not possible to set/override LUFA configuration variables by target specific variable values.
e.g. the following target specific expression in makefile will be ignored. Instead of the target specific value the globally declared value will be taken when calling "make atmega8u2".
makefile_select_mcu
#global (default value):
MCU = atmega16u2
#target specific:
atmega8u2: MCU = atmega8u2
https://github.com/Virtual-Java/HoodLoader2/blob/automake/avr/bootloaders/HoodLoader2/makefile_select_mcu
Besides the LUFA configuration variable "TARGET" is a rather unfortunate choice for the target file, because it is in conflict with the Target to compile for. Is it possible to change the name of this variable in my makefile, so that the name can be used for different purposes?
Maybe the term "FILENAME" is a better description.
davr/lufa-lib@04ad8ba