summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-12 22:01:31 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-12 22:01:31 (EST)
commit510ebecfc447e1ef11c1c3b632ee1764b966406d (patch)
tree60930a47988ece4bd38631fc9fca793000f6765b
parentf884fcda381b64b297ed5c9ba09c3c73832ab0b3 (diff)
downloadlibreboot-510ebecfc447e1ef11c1c3b632ee1764b966406d.zip
libreboot-510ebecfc447e1ef11c1c3b632ee1764b966406d.tar.gz
libreboot-510ebecfc447e1ef11c1c3b632ee1764b966406d.tar.bz2
buildrom-withgrub: create the bin directory if it does not exist
Also, add the whole /bin/ directory to .gitignore
-rw-r--r--.gitignore2
-rwxr-xr-xbuildrom-withgrub5
2 files changed, 6 insertions, 1 deletions
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.