coreboot ec-acpi (#106)
* Add script for updating coreboot config * Update coreboot and coreboot config * Update coreboot and configs * Pass board and version when running make clean in ec * Add addw2 chip.txt * Update coreboot * Update coreboot
This commit is contained in:
@@ -9,6 +9,6 @@ then
|
||||
fi
|
||||
|
||||
source "$1"
|
||||
make -C ec clean
|
||||
make -C ec BOARD=${BOARD} VERSION=${VERSION} clean
|
||||
make -C ec BOARD=${BOARD} VERSION=${VERSION} -j $(nproc)
|
||||
cp "ec/build/${BOARD}/${VERSION}/ec.rom" "$2"
|
||||
|
16
scripts/reconfig
Executable file
16
scripts/reconfig
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf build
|
||||
for config in models/*/coreboot.config
|
||||
do
|
||||
model="$(basename "$(dirname "$config")")"
|
||||
echo -e "\e[1m$model\e[0m"
|
||||
make -C coreboot distclean
|
||||
cp -v "$config" coreboot/.config
|
||||
make -C coreboot oldconfig
|
||||
cp -v coreboot/.config "$config"
|
||||
done
|
||||
|
||||
echo -e "\e[1mReconfig complete, please commit changes\e[0m"
|
Reference in New Issue
Block a user