boot/at91boostrap3: check for config file before calling kconfig-package
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 13 Jul 2015 10:32:01 +0000 (12:32 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 14 Jul 2015 08:30:30 +0000 (10:30 +0200)
commit5e94388c57546aa8eff1f7c3cb29ddde052e0b4b
tree414bdc18708e7ea72b80380c59fffcb82bf91e11
parenta4b08844697dc763af0c980d2a88923466e2d10d
boot/at91boostrap3: check for config file before calling kconfig-package

If we check that the user provides a config file after we call to the
kconfig-package infra, the error message we get is the one for the
kconfig-package infra, not the custom error message we want to show to
the user.

So, only call kconfig-package after we do the check.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
boot/at91bootstrap3/at91bootstrap3.mk