diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-07-16 11:09:34 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-07-16 11:09:34 +0000 |
commit | c3d50a69839f8d80fc7244fde6e4a57e5e39dd36 (patch) | |
tree | c9e27baac7541384b806cce0845f28c1f59b5a2e /extra/Configs | |
parent | 3cf731bf40f153a73373798085d1f45a80b972d6 (diff) |
Pete Popov writes:
Hi Erik,
I'm not sure why the NIOS support is not in uClibc -- perhaps the patch
was rejected or never submitted? In any case, I'm playing with some NIOS
stuff and created this patch against 0.9.26. The work was done by
Microtronix. I'm not sure who else contributed to it. It would be great
to have the NIOS support available in uClibc so developers don't have to
go searching for these bits.
Pete
Diffstat (limited to 'extra/Configs')
-rw-r--r-- | extra/Configs/Config.in | 14 | ||||
-rw-r--r-- | extra/Configs/Config.nios | 31 | ||||
-rw-r--r-- | extra/Configs/Config.nios2 | 30 |
3 files changed, 75 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index b61a1ebfd..b1624dafd 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -44,6 +44,12 @@ config TARGET_microblaze config TARGET_mips bool "mips" +config TARGET_nios + bool "nios" + +config TARGET_nios2 + bool "nios2" + config TARGET_powerpc bool "powerpc" @@ -97,6 +103,14 @@ if TARGET_m68k source "extra/Configs/Config.m68k" endif +if TARGET_nios +source "extra/Configs/Config.nios" +endif + +if TARGET_nios2 +source "extra/Configs/Config.nios2" +endif + if TARGET_microblaze source "extra/Configs/Config.microblaze" endif diff --git a/extra/Configs/Config.nios b/extra/Configs/Config.nios new file mode 100644 index 000000000..10a5f0a20 --- /dev/null +++ b/extra/Configs/Config.nios @@ -0,0 +1,31 @@ +# +# For a description of the syntax of this configuration file, +# see extra/config/Kconfig-language.txt +# + +config TARGET_ARCH + default "nios" + +config HAVE_ELF + bool + select ARCH_HAS_NO_MMU + select ARCH_LITTLE_ENDIAN + select HAVE_NO_PIC + select HAVE_NO_SHARED + select ARCH_HAS_NO_LDSO + default y + +config ARCH_CFLAGS + string + default "-m32 -funaligned-struct-hack" + +config ARCH_LDFLAGS + string + +config LIBGCC_CFLAGS + string + +config CROSS + string + default nios-elf- + diff --git a/extra/Configs/Config.nios2 b/extra/Configs/Config.nios2 new file mode 100644 index 000000000..cc7caf17d --- /dev/null +++ b/extra/Configs/Config.nios2 @@ -0,0 +1,30 @@ +# +# For a description of the syntax of this configuration file, +# see extra/config/Kconfig-language.txt +# + +config TARGET_ARCH + default "nios2" + +config HAVE_ELF + bool + select ARCH_HAS_NO_MMU + select ARCH_LITTLE_ENDIAN + select HAVE_NO_PIC + select HAVE_NO_SHARED + select ARCH_HAS_NO_LDSO + default y + +config ARCH_CFLAGS + string + +config ARCH_LDFLAGS + string + +config LIBGCC_CFLAGS + string + +config CROSS + string + default nios2-elf- + |