lkml.org 
[lkml]   [2008]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: kbuild now support arch/$ARCH/include - time for ARCHs to convert
    > 
    > Currently, I know Linus' tree builds fine for most ARM platforms (thanks
    > to the ARM kautobuild project.) However, I'm seeing unexpected build
    > failures that don't make sense from the linux-next project.
    >
    > I've just wound my tree back to a "pristine" state for linux-next, and
    > plan to wait for its next build to check whether its me or something else
    > causing it. What I'm referring to is:
    >
    > s3c2410_defconfig's showing:
    > include/asm/arch/map.h:16:30: error: asm/plat-s3c/map.h: No such file or directory
    >
    > which, if its including it via include/ shouldn't be happening because
    > plat-s3c hasn't moved from include/asm(-arm)/, the same as
    > include/asm-arm/arch-s3c2410 hasn't moved in linux-next yet.

    This is a kbuild bug.
    The top-level Makefile creates the include2/asm symlink only
    if the file$(srctree)/include/asm-$ARCH/errno.h is present.

    And you moved errno.h when you committed your changes so symlink
    is not created anymore thus it fails.
    But this is oly with "make O=..." builds which I think kautobuild
    does not use (since it did not trigger the bug).

    I cannot recall the exact reason why I did this check before
    creating the symlink so I will simply create it always.

    Sam


    \
     
     \ /
      Last update: 2008-08-06 21:29    [W:4.529 / U:0.156 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site