Jivin Thomas Chou lays it down ...
> Some apps such as e2fsprogs need elf2flt in ldopts to create flt
> objects.
Perhaps we should consider having ucfront deal with this. That way all !MMU
can easily turn on -elf2flt ?
The config.arch could set with something like:
UCFRONT_FORCE_ELF2FLT = 1
to force ucfront to add the -elf2flt to link stages ? Just a thought,
nothing wrong with your patch otherwise ;-)
Cheers,
Davidm
> Signed-off-by: Thomas Chou <[EMAIL PROTECTED]>
> ---
> vendors/Altera/nios2nommu/config.arch | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/vendors/Altera/nios2nommu/config.arch
> b/vendors/Altera/nios2nommu/config.arch
> index bbae947..3685b52 100644
> --- a/vendors/Altera/nios2nommu/config.arch
> +++ b/vendors/Altera/nios2nommu/config.arch
> @@ -46,7 +46,7 @@ UCLINUX_BUILD_SET = 0
> # have we set a special config below
> #
> TARGETARCH := nios2-linux-uclibc
> HOSTARCH := $(shell sh $(ROOTDIR)/tools/config.guess)
> -CONFIGURE_OPTS := --host=$(TARGETARCH) --build=$(HOSTARCH)
> --target=$(TARGETARCH)
> +CONFIGURE_OPTS := --host=$(TARGETARCH) --build=$(HOSTARCH)
> --target=$(TARGETARCH) --with-ldopts="-Wl,-d -Wl,-elf2flt"
>
> ############################################################################
> #
> @@ -137,7 +137,7 @@ ifdef UCLINUX_BUILD_USER
> CFLAGS += -I$(ROOTDIR)
> CFLAGS += -I$(ROOTDIR)/include
> CFLAGS += -fno-builtin
> - CFLAGS += -Dfork=vfork -D__adjtimex=adjtimex
> + CFLAGS += -D__adjtimex=adjtimex
>
> CXXFLAGS = $(CFLAGS) $(INCCXX) -fname-mangling-version-0
>
> --
> 1.5.3.3
>
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>
--
David McCullough, [EMAIL PROTECTED], Ph:+61 734352815
Secure Computing - SnapGear http://www.uCdot.org http://www.cyberguard.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev