diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-11-01 10:28:45 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-08 09:39:14 -0500 |
commit | bb02c5366052f8aa619961e98cd2ef74631ce8f6 (patch) | |
tree | 7a0f97f5a6daa0a59b5981c3f54792d66ae36f56 /mkconfig | |
parent | 7d9ec6a0aff88b6d7d3b36c04ff1ae490324ebf1 (diff) | |
download | u-boot-imx-bb02c5366052f8aa619961e98cd2ef74631ce8f6.zip u-boot-imx-bb02c5366052f8aa619961e98cd2ef74631ce8f6.tar.gz u-boot-imx-bb02c5366052f8aa619961e98cd2ef74631ce8f6.tar.bz2 |
Makefile: do not create a symbolic link to arch/${ARCH}/include/asm
In-tree build:
- Do not create a symbolic link
from include/asm to arch/${ARCH}/include/asm
- Add ${SRCTREE}/arch/arm/include into the header search path
Out-of-tree build:
- Do not create a directory ${OBJTREE}/include2
- Do not create a symbolic link
from ${OBJTREE}/include2/asm to ${SRCTREE}/arch/${ARCH}/include/asm
- Add ${SRCTREE}/arch/arm/include into the header search path
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'mkconfig')
-rwxr-xr-x | mkconfig | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -96,17 +96,11 @@ fi # if [ "$SRCTREE" != "$OBJTREE" ] ; then mkdir -p ${OBJTREE}/include - mkdir -p ${OBJTREE}/include2 - cd ${OBJTREE}/include2 - rm -f asm - ln -s ${SRCTREE}/arch/${arch}/include/asm asm LNPREFIX=${SRCTREE}/arch/${arch}/include/asm/ - cd ../include + cd ${OBJTREE}/include mkdir -p asm else - cd ./include - rm -f asm - ln -s ../arch/${arch}/include/asm asm + cd arch/${arch}/include fi rm -f asm/arch @@ -122,6 +116,10 @@ if [ "${arch}" = "arm" ] ; then ln -s ${LNPREFIX}proc-armv asm/proc fi +if [ "$SRCTREE" = "$OBJTREE" ] ; then + cd ${SRCTREE}/include +fi + # # Create include file for Make # |