• M
    kbuild: pass $(MAKECMDGOALS) to sub-make as is · 6b1a9a02
    Masahiro Yamada 提交于
    Manipulating $(MAKECMDGOALS) for sub-make seems odd to me.
    
    [1] 'make O=foo sub-make' is turned into 'make O=foo', which builds
    the default targets. It would make sense to terminate the build with:
    
      *** No rule to make target 'sub-make'.  Stop.
    
    [2] 'make O=foo defconfig _all' is turned into 'make O=foo defconfig',
    which changes the behavior.
    
    Let's pass $(MAKECMDGOALS) as is.
    Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
    6b1a9a02
Makefile 58.3 KB