mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-06 11:20:32 +00:00
doc: add script for syncing acrn-kernel for API gen
API doc generation includes kernel components provided by ACRN that live in the acrn-kernel repo (not the acrn-hypervisor repo). We need to include fetching the latest acrn-kernel sources when we do doc generation, and update the documentation to mention we now need the acrn-kernel repo as a sibling folder for the acrn-hypervisor repo contents. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
committed by
David Kinder
parent
363a84c7b8
commit
3abfdbab72
17
doc/scripts/pullsource.sh
Executable file
17
doc/scripts/pullsource.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
q="--quiet"
|
||||
|
||||
# get the latest acrn-kernel sources for the kernel-doc API processing
|
||||
|
||||
if [ ! -d "../../acrn-kernel" ]; then
|
||||
echo Repo for acrn-kernel is missing.
|
||||
exit -1
|
||||
fi
|
||||
|
||||
# Assumes origin is the upstream repo
|
||||
|
||||
cd ../../acrn-kernel
|
||||
git checkout $q master
|
||||
git fetch $q origin
|
||||
git reset $q --hard origin/master
|
Reference in New Issue
Block a user