-# Name of the target\r
-set(CMAKE_SYSTEM_NAME avr)\r
-set(CMAKE_SYSTEM_PROCESSOR avrxmega7)\r
-\r
-set(MCPU_FLAGS "-mmcu=avrxmega7")\r
-\r
+# Name of the target
+set(CMAKE_SYSTEM_NAME Generic)
+set(CMAKE_SYSTEM_PROCESSOR avrxmega7)
+
+set(MCPU_FLAGS "-mmcu=avrxmega7")
+
include(${CMAKE_CURRENT_LIST_DIR}/common/avr-gcc.cmake)
\ No newline at end of file