infra/pkg-kconfig: require an non-empty KCONFIG_FILE
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 8 Apr 2015 17:08:35 +0000 (19:08 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 10 Jun 2015 07:27:05 +0000 (09:27 +0200)
commit932a958672b1239d2fb872573f723aa99bf8991b
tree21a9535e13a78bfb1a1c0bfccb0523a598b3a7b3
parent30d076be237cc2bce8d397deb318a91593d3089b
infra/pkg-kconfig: require an non-empty KCONFIG_FILE

Currently, we only check that the variable is defined, which is not
enough since we really want it to be non-empty.

We however can't check it points to an existing file, because the
package might well not be extracted yet, and we may use an internal
defconfig. If that file does not eventually exist, there will be a
failure down the road at build time when we try to copy it...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-kconfig.mk