Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* config/avr/gen-avr-mmcu-specs.c (print_mcu) <cpp>: Only define __AVR_DEV_LIB_NAME__ when compiling for a specific device. <lib>: When compiling for a device, add libdev.a. <startfile>: Crt file has moved to device directory. * config/avr/avr-arch.h (avr_mcu_t) <library_name>: Update comment. avr-libc: * configure.ac: (AC_CONFIG_FILES): Place all devices under avr/lib/dev. Comment out device duplicates. * devtools/Device.am (AVR_FAMILY): New variable. (VPATH): Add $(top_srcdir)/libc/misc. ($(top_srcdir)/libc/misc/Rules.am): Include. (avr_LIBRARIES, libdev_a_SOURCES): New library. * devtools/gen-avr-lib-tree.sh: Place all devices under avr/lib/dev. Substitute <arch>. (AVR12_DEV_INFO): Comment out duplicated devices. (AVR3_DEV_INFO, AVR5_DEV_INFO): Likewise. * include/avr/eeprom.h: Remove function name mangling. * include/avr/io.h: Use __AVR_DEV_LIB_NAME__ as a fallback. Remove mappings that can be found from AVR_DEV_LIB_NAME. * libc/misc/Files.am (eeprom_asm_sources): Move ee{wr,upd}_{d,}word.S from here... (misc_a_asm_sources): ... to here. * libc/misc/Rules.am: Remove eeprom file name mangling. * libc/misc/eedef.h: Remove eeprom function name mangling. * libc/misc/eeupd_dword.S: Remove E2END conditional. * libc/misc/eeupd_word.S: Likewise, * libc/misc/eewr_dword.S, libc/misc/eewr_word.S: Likewise,
- Loading branch information