summaryrefslogtreecommitdiff
path: root/include/configs/m28evk.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-12-08 09:46:12 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-09 17:30:10 +0100
commit8ba1604d342076c29e375fa3196106eed1f84b2a (patch)
tree75ec9c4e861a458cb667015f81276ed665748624 /include/configs/m28evk.h
parentc944a3ef8224a2d5936b31ebd72a6ebd842409d1 (diff)
downloadu-boot-imx-8ba1604d342076c29e375fa3196106eed1f84b2a.zip
u-boot-imx-8ba1604d342076c29e375fa3196106eed1f84b2a.tar.gz
u-boot-imx-8ba1604d342076c29e375fa3196106eed1f84b2a.tar.bz2
M28: Cleanup memsize.o OOT build
The current way memsize.c is built just made a symlink into the directory with SPL and then compiled it like any other file there. This was bad as that broke the out-of-tree build. The new way introduced in this patch uses the standard spl/Makefile methods (CONFIG_SPL_LIBCOMMON_SUPPORT / CONFIG_SPL_LIBGENERIC_SUPPORT) to let files in common/ be built. Because common/Makefile says memsize.c is always built (SPL and non-SPL build), this fixes our issue with memsize.c out-of-tree build. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/configs/m28evk.h')
-rw-r--r--include/configs/m28evk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index cdf7636..39c841f 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -50,6 +50,8 @@
#define CONFIG_SPL_NO_CPU_SUPPORT_CODE
#define CONFIG_SPL_START_S_PATH "arch/arm/cpu/arm926ejs/mx28"
#define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/arm926ejs/mx28/u-boot-spl.lds"
+#define CONFIG_SPL_LIBCOMMON_SUPPORT
+#define CONFIG_SPL_LIBGENERIC_SUPPORT
/*
* U-Boot Commands