• Paolo \'Blaisorblade\' Giarrusso's avatar
    [PATCH] uml: Fixes "fixdep.c" to support arch/um/include/uml-config.h. · 90d1735b
    Paolo \'Blaisorblade\' Giarrusso authored
    You probably saw that if you change one config option, even if
    linux/autoconf.h (which is included by everything) changes, the kernel is
    smart enough not to recompile everything.  But with UML this no more holds.
    Why?  Because, as you see in this patch, fixdep avoids making anything depend
    onto linux/autoconf.h *explicitly*, but nobody taught him to do the same for
    arch/um/include/uml-config.h.  So apply this patch.  Do not say "I don't want
    to change the generic Kbuild for one arch": this cannot hurt.  It's a bugfix
    for us, a no-op for others.
    
    Note: with this patch, fixdep will still add a dependency from a file
    containing UML_CONFIG_BYE onto CONFIG_BYE.  Since someone could think that
    fixdep should grep for [^A-Z_]CONFIG_ rather than simply for CONFIG_, I've
    added a comment that ask *not to fix* this "bug".
    Signed-off-by: default avatarPaolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
    Cc: Jeff Dike <jdike@addtoit.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    90d1735b
fixdep.c 9.27 KB