When building avr-libc from SVN, I noticed that xmega.h is not being
copied to the install directory i.e. it's missing from avr/include. This
causes compilation errors when attempting to use avr-libc with xmega devices,
as avr/io.h (conditionally) includes xmega.h.

I guess xmega.h needs to be added the avr_HEADERS list in
include/avr/Makefile.am. The attached patch does that. If the patch is
ok, could someone commit?

Regards
Senthil
--- include/avr/Makefile.am     2013-01-10 19:18:58.484796401 +0530
+++ include/avr/Makefile.am     2013-01-10 19:18:24.544792890 +0530
@@ -217,6 +217,7 @@ avr_HEADERS = \
     signal.h \
     sleep.h \
     version.h \
+    xmega.h \
     wdt.h
 
 nodist_avr_HEADERS = \
_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to