diff options
-rw-r--r-- | .gitignore | 7 | ||||
-rwxr-xr-x | builddeps-grub | 2 | ||||
-rwxr-xr-x | buildrom-withgrub | 2 | ||||
-rwxr-xr-x | cleandeps | 2 |
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 @@ -59,7 +59,7 @@ cd ../ cd grub -make clean +[[ -f Makefile ]] && make clean # done. go back to main directoy cd ../ |