aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/module
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2016-09-01 15:17:24 +0200
committerLeah Rowe <info@minifree.org>2016-09-01 20:42:20 +0100
commitc5529765fcdf41837c9fa5d8e8ddf99ec3d5c2ab (patch)
tree1862cd1fc06eee90b42e51ac84c264dd54d3de16 /resources/scripts/helpers/build/module
parent1a6def9f2a9f395612a353ecab394721a4099a43 (diff)
downloadlibrebootfr-c5529765fcdf41837c9fa5d8e8ddf99ec3d5c2ab.tar.gz
librebootfr-c5529765fcdf41837c9fa5d8e8ddf99ec3d5c2ab.zip
Remove git directories and force links in coreboot
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'resources/scripts/helpers/build/module')
-rwxr-xr-xresources/scripts/helpers/build/module/coreboot4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/module/coreboot b/resources/scripts/helpers/build/module/coreboot
index f6e23cae..948e2eab 100755
--- a/resources/scripts/helpers/build/module/coreboot
+++ b/resources/scripts/helpers/build/module/coreboot
@@ -46,7 +46,7 @@ for payload in $HOMEDIR/coreboot/*; do
# create symlink to crossgcc
(
- ln -s $HOMEDIR/crossgcc/util/crossgcc/ ${board}/util/crossgcc
+ ln -fs $HOMEDIR/crossgcc/util/crossgcc/ ${board}/util/crossgcc
)
done
@@ -135,10 +135,12 @@ for i in $HOMEDIR/coreboot/*; do
fi
(
cd "${revision}/"
+ rm -rf .git
git init
git add -A .
git commit -m "coreboot revision ${revision##*/}"
cd "3rdparty/vboot/"
+ rm -rf .git
git init
git add -A .
git commit -m "coreboot revision ${revision##*/}"