image: fix CONFIG_EXTERNAL_CPIO handling
authorDaniel Golle <daniel@makrotopia.org>
Sat, 27 Nov 2021 12:02:05 +0000 (12:02 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 28 Nov 2021 20:15:10 +0000 (20:15 +0000)
commit0a4f5d06c23215f4ea9945f8d72dff5ba60c34e5
tree98cf001f8b1b8acc8dfb6b442560d3ba20ad8141
parent2f6c847eb7f89bce9e33c64d707469fd3923dc36
image: fix CONFIG_EXTERNAL_CPIO handling

CONFIG_EXTERNAL_CPIO is a string variable, hence testing for 'y'
doesn't make much sense here.

Fixes: 330bd380e8 ("image: allow building FIT and uImage with ramdisk")
Reported-by: Huangbin Zhan <zhanhb88@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
include/kernel-defaults.mk