Change the modules link order

In order to support IRQ_CONNECT_STATIC implementation for ARM,
the platform code needs to be linked after drivers.

Change-Id: Ifcba89283e4b9dc18a9cb774d591a689b38c9254
Signed-off-by: Dmitriy Korovkin <dmitriy.korovkin@windriver.com>
This commit is contained in:
Dmitriy Korovkin 2015-06-15 17:27:34 -04:00 committed by Anas Nashif
parent 6dd108a263
commit f41ffb4c43
1 changed files with 1 additions and 1 deletions

View File

@ -759,7 +759,7 @@ libs-y := $(libs-y1) $(libs-y2)
DQUOTE = "
#This comment line is to fix the highlighting of some editors due the quote effect."
export KBUILD_ZEPHYR_INIT := $(head-y) $(init-y)
export KBUILD_ZEPHYR_MAIN := $(core-y) $(libs-y) $(drivers-y) $(bsp-y)
export KBUILD_ZEPHYR_MAIN := $(bsp-y) $(drivers-y) $(core-y) $(libs-y)
export KBUILD_LDS := $(srctree)/arch/$(SRCARCH)/$(subst $(DQUOTE),,$(CONFIG_BSP_DIR))/linker.cmd
export LDFLAGS_zephyr
# used by scripts/pacmage/Makefile