• Paolo \'Blaisorblade\' Giarrusso's avatar
    [PATCH] uml: Makefile simplification and correction. · ed4ac64a
    Paolo \'Blaisorblade\' Giarrusso authored
    Cleanup: simplify a lot of strange constructs and whatever present in
    arch/um/Makefile.
    
    Also, get rid of redundant cleaning code introduced in
    "uml-fix-make-clean.patch" from 2.6.10-mm3 - when it was written it made
    sense, but I fixed most problems it addressed in a more elegant way.
    
    Also about that, don't remove $(ARCH_SYMLINKS) in make clean, but rather in
    make mrproper as we already do, like for include/asm-um and other symlinks.
    
    Finally, remove one wrong thing (almost a bug) introduced in that - the usage
    of the clean-dirs construct:
    
    clean-dirs := sys-$(SUBARCH)
    
    which is intended to delete one whole folder, rather than to descend to clean
    it, when used in normal Makefiles (not in the arch Makefile where is used,
    with no effect).  It's also not needed because that folder is cleaned because
    is listed in either $(core-y) or $(libs-y).
    Signed-off-by: default avatarPaolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
    Cc: Chris Wright <chrisw@osdl.org>
    Cc: Jeff Dike <jdike@addtoit.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    ed4ac64a
Makefile 5.87 KB