mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
merge config/ and resources/
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -26,14 +26,14 @@ sch5545ec_dl_url_bkup=""
|
||||
sch5545ec_dl_hash=""
|
||||
|
||||
cbdir="coreboot/default"
|
||||
cbcfgsdir="resources/coreboot"
|
||||
cbcfgsdir="config/coreboot"
|
||||
boarddir=""
|
||||
blobdir="blobs"
|
||||
appdir="${blobdir}/app"
|
||||
_7ztest="a"
|
||||
mecleaner="$(pwd)/me_cleaner/me_cleaner.py"
|
||||
e6400_unpack="$(pwd)/bios_extract/dell_inspiron_1100_unpacker.py"
|
||||
me7updateparser="$(pwd)/resources/blobs/me7_update_parser.py"
|
||||
me7updateparser="$(pwd)/config/blobs/me7_update_parser.py"
|
||||
kbc1126_ec_dump="$(pwd)/${cbdir}/util/kbc1126/kbc1126_ec_dump"
|
||||
board=""
|
||||
pfs_extract="$(pwd)/biosutilities/Dell_PFS_Extract.py"
|
||||
@@ -146,7 +146,7 @@ scan_sources_config()
|
||||
sch5545ec_dl_url=${2} ;;
|
||||
esac
|
||||
done << EOF
|
||||
$(eval "awk '${awkstr}' resources/blobs/sources")
|
||||
$(eval "awk '${awkstr}' config/blobs/sources")
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
@@ -12,10 +12,10 @@ board=""
|
||||
vendor_rom=""
|
||||
|
||||
cbdir="coreboot/default"
|
||||
cbcfgsdir="resources/coreboot"
|
||||
cbcfgsdir="config/coreboot"
|
||||
ifdtool="${cbdir}/util/ifdtool/ifdtool"
|
||||
mecleaner="me_cleaner/me_cleaner.py"
|
||||
me7updateparser="resources/blobs/me7_update_parser.py"
|
||||
me7updateparser="config/blobs/me7_update_parser.py"
|
||||
|
||||
boarddir=""
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ release=""
|
||||
releasearchive=""
|
||||
|
||||
cbdir="coreboot/default"
|
||||
cbcfgsdir="resources/coreboot"
|
||||
cbcfgsdir="config/coreboot"
|
||||
ifdtool="cbutils/default/ifdtool"
|
||||
cbfstool="cbutils/default/cbfstool"
|
||||
nvmutil="util/nvmutil/nvm"
|
||||
@@ -45,7 +45,7 @@ main()
|
||||
|
||||
[ $# -lt 1 ] && err "No options specified."
|
||||
[ "${1}" = "listboards" ] && \
|
||||
./build command options resources/coreboot && exit 0
|
||||
./build command options config/coreboot && exit 0
|
||||
|
||||
archive="${1}"
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ read_config()
|
||||
depend=${2} ;;
|
||||
esac
|
||||
done << EOF
|
||||
$(eval "awk '${awkstr}' resources/git/revisions")
|
||||
$(eval "awk '${awkstr}' config/git/revisions")
|
||||
EOF
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ clone_project()
|
||||
|
||||
patch_project()
|
||||
{
|
||||
patchdir="resources/${name}/patches"
|
||||
patchdir="config/${name}/patches"
|
||||
|
||||
for patchfile in "${PWD}/${patchdir}"/*.patch ; do
|
||||
[ -f "${patchfile}" ] || continue
|
||||
@@ -119,7 +119,7 @@ usage()
|
||||
Usage: ./update project repo [name]
|
||||
|
||||
Options:
|
||||
name: Module name as specified in resources/git/revisions
|
||||
name: Module name as specified in config/git/revisions
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ main()
|
||||
|
||||
[ -z "${1}" ] && err "project name not specified"
|
||||
project="${1}"
|
||||
cfgsdir="resources/${project}"
|
||||
cfgsdir="config/${project}"
|
||||
[ -d "${cfgsdir}" ] || err "unsupported project name"
|
||||
shift 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user