Hello Hans-Christian!
Hello All!

Hans-Christian Egtvedt wrote:
 ifeq ($(strip $(TARGET_ARCH)),avr32)
-       CPU_CFLAGS-$(CONFIG_AVR32_AP7)  += -march=ap
Any reason you nuke this compiler flag? I would like to keep it,
although it could be selected always as long as target arch is avr32.

As said in the introductory e-mail, it's up to the user to either:
- properly setup the compiler to emit the proper instruction set,
- or provide addequate CFLAGS in UCLIBC_EXTRA_CFLAGS if need be.

        CPU_CFLAGS-$(CONFIG_LINKRELAX)  += -mrelax
        CPU_LDFLAGS-$(CONFIG_LINKRELAX) += --relax
 endif
diff --git a/extra/Configs/Config.avr32 b/extra/Configs/Config.avr32
index cbadb4c..8e348c6 100644
--- a/extra/Configs/Config.avr32
+++ b/extra/Configs/Config.avr32
@@ -10,19 +10,10 @@ config TARGET_ARCH
 config FORCE_OPTIONS_FOR_ARCH
        bool
        default y
+       select ARCH_HAS_MMU
        select ARCH_BIG_ENDIAN
        select FORCE_SHAREABLE_TEXT_SEGMENTS
-choice
-       prompt "Target CPU Type"
-       default CONFIG_AVR32_AP7
-
-config CONFIG_AVR32_AP7
-       bool "AVR32 AP7"
-       select ARCH_HAS_MMU
-
-endchoice
-
 config LINKRELAX
        bool "Enable linker optimizations"
        default y

This part is fine by me.

Thanks.

There is an option of supporting UC3
architecture as well, but it is highly experimental, so lets just keep
it simple until there is something actually working.

It's not currently in the code, is it? IIUC, UC3 is yet another variant,
right? So again, it should be up to the user to provide a properly set-up
gcc.

Regards,
Yann E. MORIN.

--
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< O_o >==-- '------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  conspiracy.  |
'------------------------------'-------'------------------'--------------------'
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to