at91: fix build error for wb50n.
authorSandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Mon, 2 Apr 2018 16:34:07 +0000 (09:34 -0700)
committerJohn Crispin <john@phrozen.org>
Mon, 30 Apr 2018 07:01:12 +0000 (09:01 +0200)
commit80fe9bd71c18e472c9642e0b70c3abe2c6c21406
tree256b96a3bf0f838ae4c0f455b4a13856815a446d
parentc0574d08daeae456ef8af562625d083398f08e7e
at91: fix build error for wb50n.

when external kernel is selected from menuconfig, device wb50n is not
avaliable and build fails. As a fix adding checks for external kernel.

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
target/linux/at91/image/sama5.mk