Fixes to Kbuild to build on ARM architecture.

This commit fixes issues to allow build on ARM architecture.
- It fixes the include paths in Makefiles.
- It fixes the include path for the offsets.c compilation.
- It fixes the linker command. This changes is needed because gcc
  ARM cross-compiler does not accept an AT() command without
  specifing an address explicitly. This corner case appears
  on ARM architectures when XIP is disabled.

Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@linux.intel.com>
Change-Id: Ief8b53c4cc154abba7b7827121ec5a56f62b7b26
This commit is contained in:
Juan Manuel Cruz 2015-04-27 12:15:39 -05:00 committed by Anas Nashif
commit 808e5c4ba0
9 changed files with 29 additions and 26 deletions

View file

@ -11,6 +11,4 @@ obj-y = atomic.o exc_exit.o ffs.o irq_init.o \
fault_s.o gdb_stub.o isr_wrapper.o \
nanofatal.o
obj-y += offsets/
obj-$(MICROKERNEL) += task_abort.o