Skip to content
  • Michal Marek's avatar
    kbuild: create include/generated in silentoldconfig · 32197c7f
    Michal Marek authored
    
    
    The toplevel Makefile creates the directory if it runs silentoldconfig
    automatically, but if run manually, it fails:
    
      $ make mrproper
      $ make defconfig && make silentoldconfig
      *** Default configuration is based on 'x86_64_defconfig'
      #
      # configuration written to .config
      #
      scripts/kconfig/conf -s arch/x86/Kconfig
    
      *** Error during update of the kernel configuration.
      ...
    
    Move the mkdir command to the silentoldconfig target to make it work.
    
    Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
    32197c7f