Set up 3rdparty/libhwbase
`libhwbase` is a SPARK library that contains some basic support for i/o access, debugging, timers. Just what I put around `libgfxinit`, to make it build standalone. Change-Id: I1918680c14696215522e1c5dae072235bb4e71a3 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/16948 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
d011b6b832
commit
e09f8acdad
|
@ -15,3 +15,6 @@
|
||||||
[submodule "3rdparty/chromeec"]
|
[submodule "3rdparty/chromeec"]
|
||||||
path = 3rdparty/chromeec
|
path = 3rdparty/chromeec
|
||||||
url = ../chrome-ec.git
|
url = ../chrome-ec.git
|
||||||
|
[submodule "libhwbase"]
|
||||||
|
path = 3rdparty/libhwbase
|
||||||
|
url = ../libhwbase.git
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 5e9b1b50e7ac90f68ca2ea798ef656ac863c2851
|
23
Makefile.inc
23
Makefile.inc
|
@ -567,14 +567,21 @@ gitconfig:
|
||||||
chmod +x .git/hooks/$$hook; \
|
chmod +x .git/hooks/$$hook; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
# Now set up thehooks for 3rdparty/blobs
|
# Now set up thehooks for 3rdparty/
|
||||||
if [ -d .git/modules/3rdparty/blobs/hooks -a \
|
for hooks in .git/modules/{3rdparty/blobs,libhwbase}/hooks; do \
|
||||||
\( util/gitconfig/commit-msg -nt .git/modules/3rdparty/blobs/hooks/commit-msg -o \
|
if [ -d $$hooks -a \
|
||||||
! -x .git/modules/3rdparty/blobs/hooks/commit-msg \) ]; then \
|
\( util/gitconfig/commit-msg -nt $$hooks/commit-msg -o \
|
||||||
sed -e "s,%MAKE%,$(MAKE),g" util/gitconfig/commit-msg > .git/modules/3rdparty/blobs/hooks/commit-msg; \
|
! -x $$hooks/commit-msg \) ]; then \
|
||||||
chmod +x .git/modules/3rdparty/blobs/hooks/commit-msg; \
|
sed -e "s,%MAKE%,$(MAKE),g" util/gitconfig/commit-msg > $$hooks/commit-msg; \
|
||||||
fi
|
chmod +x $$hooks/commit-msg; \
|
||||||
[ -d 3rdparty/blobs ] && cd 3rdparty/blobs && git config remote.origin.push HEAD:refs/for/master
|
fi \
|
||||||
|
done
|
||||||
|
for d in 3rdparty/{blobs,libhwbase}; do \
|
||||||
|
if [ -d $$d ]; then \
|
||||||
|
(cd $$d; \
|
||||||
|
git config remote.origin.push HEAD:refs/for/master); \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
git config remote.origin.push HEAD:refs/for/master
|
git config remote.origin.push HEAD:refs/for/master
|
||||||
git config alias.sup '!git submodule update --remote --rebase && git submodule update --init --checkout'
|
git config alias.sup '!git submodule update --remote --rebase && git submodule update --init --checkout'
|
||||||
git config alias.sup-destroy '!git submodule deinit --force "$$(git rev-parse --show-toplevel)"; git submodule init && git submodule update --checkout'
|
git config alias.sup-destroy '!git submodule deinit --force "$$(git rev-parse --show-toplevel)"; git submodule init && git submodule update --checkout'
|
||||||
|
|
Loading…
Reference in New Issue