summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore7
-rwxr-xr-xbuilddeps-grub2
-rwxr-xr-xbuildrom-withgrub2
-rwxr-xr-xcleandeps2
4 files changed, 10 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4d56cbe
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+*~
+bucts
+coreboot
+flashrom
+grub
+memtest86+-5.01
+bin
diff --git a/builddeps-grub b/builddeps-grub
index 85af106..f6d6910 100755
--- a/builddeps-grub
+++ b/builddeps-grub
@@ -32,7 +32,7 @@
cd grub
# clean it first
-make clean
+[[ -f Makefile ]] && make clean
# build grub
./autogen.sh
diff --git a/buildrom-withgrub b/buildrom-withgrub
index 51ae22e..6ff7e2d 100755
--- a/buildrom-withgrub
+++ b/buildrom-withgrub
@@ -36,7 +36,7 @@ cd coreboot
rm -rf .config
# cbfstool will be used quite heavily here.
-mv util/cbfstool/cbfstool .
+[[ -f cbfstool ]] || mv util/cbfstool/cbfstool .
# prepare libreboot configuration and build it
# it is assumed that these configs use coreboot text-mode
diff --git a/cleandeps b/cleandeps
index 2f47bdc..802a4cc 100755
--- a/cleandeps
+++ b/cleandeps
@@ -59,7 +59,7 @@ cd ../
cd grub
-make clean
+[[ -f Makefile ]] && make clean
# done. go back to main directoy
cd ../