From 510ebecfc447e1ef11c1c3b632ee1764b966406d Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Thu, 12 Feb 2015 22:01:31 -0500 Subject: buildrom-withgrub: create the bin directory if it does not exist Also, add the whole /bin/ directory to .gitignore --- diff --git a/.gitignore b/.gitignore index df3033f..bc510f9 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,7 @@ /flashrom/ /grub/ /memtest86+-5.01/ -/bin/* +/bin/ /grubinvaders/ /seabios/ /powertop/ diff --git a/buildrom-withgrub b/buildrom-withgrub index 01d131e..bd6c35f 100755 --- a/buildrom-withgrub +++ b/buildrom-withgrub @@ -31,6 +31,11 @@ if (( $# != 1 )); then exit 1 fi +if [ ! -d "bin" ] +then + mkdir bin/ +fi + cd coreboot # Build ROM images with text-mode and corebootfb modes. -- cgit v0.9.1