coreboot: Check for a file for local defconfig
authorPaul Kocialkowski <contact@paulk.fr>
Mon, 4 Apr 2016 17:21:31 +0000 (19:21 +0200)
committerPaul Kocialkowski <contact@paulk.fr>
Mon, 4 Apr 2016 17:21:31 +0000 (19:21 +0200)
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
coreboot/coreboot-config.sh

index 3051e75..3ed87db 100755 (executable)
@@ -2,7 +2,7 @@
 
 . ./coreboot.sh
 
-if [ "$CONFIG" != "" ]
+if [ -f "$CONFIG" ]
 then
        make -C $SRC obj=$DST DOTCONFIG="$DST/.config" KBUILD_DEFCONFIG=$CONFIG defconfig
 fi