]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
kbuild: include config.mk when auto.conf is not older than .config
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 3 Apr 2015 03:30:25 +0000 (12:30 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:38:16 +0000 (14:38 +0200)
commitf57a82888b7a8816872164c4f25dbd28477c0740
tree47f75c6c047506f79fee673e7b9ada52a99d6758
parent78a2e0767649686ba34622a857516c81f15b2444
kbuild: include config.mk when auto.conf is not older than .config

Since the Kconfig conversion, config.mk has been included only when
include/config/auto.conf is newer than the .config file.

It causes build error if both files have the same time-stamps.
It is actually possible because EXT* file systems have a 1s time-stamp
resolution.

The config.mk should be included when include/config/auto.conf is
*not older* than the .config file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reported-by: Tom Rini <trini@konsulko.com>
Reported-by: York Sun <yorksun@freescale.com>
Reported-by: Stephen Warren <swarren@nvidia.com>
Reported-by: Matthew Gerlach <mgerlach@opensource.altera.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Makefile