Kernel Makefiles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I have a problem with the kernel Makefiles. I want to use a linker script
for the linking of the kernel. So I have extended the definition of the
Variable LINKFLAGS (which is exported from the top makefile) in the
/arch/tricore/Makefile like this:

LINKFLAGS = -T $(TOPDIR)/arch/tricore/platform/TC1/triboard_ab.lin


But when it starts linking, I get the following error:

...
...
...

tricore-ld   -r -o kernel.o process.o traps.o ptrace.o sys_tricore.o time.o
semaphore.o setup.o
tricore-ld:process.o: file format not recognized; treating as linker script
tricore-ld:process.o:1: parse error
make[2]: *** [kernel.o] Error 1
make[2]: Leaving directory
`/cygdrive/d/user/duplys/studienarbeit/source-distrib
ution/uClinux-2.4.x/arch/tricore/kernel'
make[1]: *** [_dir_arch/tricore/kernel] Error 2
make[1]: Leaving directory
`/cygdrive/d/user/duplys/studienarbeit/source-distrib
ution/uClinux-2.4.x'
make: *** [linux] Error 1


So my question is: does the top makefile (or top Rules.make?) not "see" my
definition of the LINKFLAGS variable OR does it expect the " -T
.../triboard_ab.lin" to be defined somewhere else(another makefile or
another variable)?

regards, 
Paul

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux