mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: 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.
BUG=none
BRANCH=none
TEST=none
Change-Id: Ifba116e967357ed971aecd8a1d1661a493c0ca81
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: e09f8acdad
Original-Change-Id: I1918680c14696215522e1c5dae072235bb4e71a3
Original-Signed-off-by: Nico Huber <nico.huber@secunet.com>
Original-Reviewed-on: https://review.coreboot.org/16948
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://chromium-review.googlesource.com/430675
This commit is contained in:
parent
484e33c460
commit
dd3816309a
1 changed files with 15 additions and 8 deletions
23
Makefile.inc
23
Makefile.inc
|
@ -568,14 +568,21 @@ gitconfig:
|
|||
chmod +x .git/hooks/$$hook; \
|
||||
fi; \
|
||||
done
|
||||
# Now set up thehooks for 3rdparty/blobs
|
||||
if [ -d .git/modules/3rdparty/blobs/hooks -a \
|
||||
\( util/gitconfig/commit-msg -nt .git/modules/3rdparty/blobs/hooks/commit-msg -o \
|
||||
! -x .git/modules/3rdparty/blobs/hooks/commit-msg \) ]; then \
|
||||
sed -e "s,%MAKE%,$(MAKE),g" util/gitconfig/commit-msg > .git/modules/3rdparty/blobs/hooks/commit-msg; \
|
||||
chmod +x .git/modules/3rdparty/blobs/hooks/commit-msg; \
|
||||
fi
|
||||
[ -d 3rdparty/blobs ] && cd 3rdparty/blobs && git config remote.origin.push HEAD:refs/for/master
|
||||
# Now set up thehooks for 3rdparty/
|
||||
for hooks in .git/modules/{3rdparty/blobs,libhwbase}/hooks; do \
|
||||
if [ -d $$hooks -a \
|
||||
\( util/gitconfig/commit-msg -nt $$hooks/commit-msg -o \
|
||||
! -x $$hooks/commit-msg \) ]; then \
|
||||
sed -e "s,%MAKE%,$(MAKE),g" util/gitconfig/commit-msg > $$hooks/commit-msg; \
|
||||
chmod +x $$hooks/commit-msg; \
|
||||
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 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'
|
||||
|
|
Loading…
Add table
Reference in a new issue