kbuild: create include/generated in silentoldconfig
authorMichal Marek <mmarek@suse.cz>
Wed, 25 Nov 2009 14:14:49 +0000 (15:14 +0100)
committerMichal Marek <mmarek@suse.cz>
Sat, 12 Dec 2009 12:08:16 +0000 (13:08 +0100)
commit32197c7ffb06b1319850f8fdfa1a49d32a63b79b
tree35179145156792698f4f68962f0c404162c85d3e
parentdb1d18657c96cc675596077cb60ef50fbe1947f8
kbuild: create include/generated in silentoldconfig

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: Michal Marek <mmarek@suse.cz>
Makefile
scripts/kconfig/Makefile