diff options
author | Arnout Vandecappelle <arnout@mind.be> | 2016-01-24 23:58:42 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-01-26 21:26:52 +0100 |
commit | c65612fff80f3ae5f9ab0a20a516ce20dd19981d (patch) | |
tree | a5c4fcd2438c2ec9f3f929bcf023f01e797ed0e2 /package/libpciaccess/0001-limits_h.patch | |
parent | 9f99ec21e51e4a9a47d7383dcd7391d2a9aa5050 (diff) | |
download | buildroot-c65612fff80f3ae5f9ab0a20a516ce20dd19981d.tar.gz buildroot-c65612fff80f3ae5f9ab0a20a516ce20dd19981d.zip |
pkg-kconfig: add missing -patch dependency for defconfig
Since the introduction of _KCONFIG_DEFCONFIG in 8ef62b99, the package's
.config file no longer depends on anything (unless a fragment is
defined). Therefore, there is no dependency anymore between .config
and <pkg>-patch. Thus, it is possible that the .config file is
attempted to be built before the package is extracted and patched.
Usually this works out OK because <pkg>-patch will always be done
before <pkg>-configure, but it will fail when the user calls
<pkg>-menuconfig explicitly. It will also fail when we enable
top-level parallel build.
To solve this, just add an explicit order-only dependency on
<pkg>-patch. It really is only necessary when _KCONFIG_DEFCONFIG is
defined and _KCONFIG_FRAGMENT_FILES is not, but it doesn't hurt to
add it unconditionally.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reported-by: FrAnKenStEiN MC <chfakht@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libpciaccess/0001-limits_h.patch')
0 files changed, 0 insertions, 0 deletions