Only compile our target

This commit is contained in:
2023-01-13 15:30:36 -05:00
parent 60bb05e19a
commit 31a4aac014

View File

@@ -549,14 +549,18 @@ fromSource() {
git checkout "v$RELEASE" git checkout "v$RELEASE"
fi fi
./scripts/feeds update -a # Update packages
./scripts/feeds update -a &&
./scripts/feeds install -a ./scripts/feeds install -a
# Grab the release seed config # Grab the release seed config
if [[ ! -f .config ]]; then if [[ -f .config ]]; then
echo ".config already exists"
if askOk "Replace?"; then
if ! curl -so .config "$SEED_URL"; then if ! curl -so .config "$SEED_URL"; then
echo "Could not obtain seed config" echo "Could not obtain seed config"
fi fi
fi
else else
echo "Reusing existing .config" echo "Reusing existing .config"
fi fi
@@ -570,6 +574,11 @@ fromSource() {
fi fi
done done
# Only compile our target
echo "CONFIG_TARGET_MULTI_PROFILE=n" >> .config
sed -i '/CONFIG_TARGET_DEVICE_/d' myfile.txt
echo "CONFIG_TARGET_DEVICE_${P_ARR[target]//\//_}_DEVICE_${P_ARR[profile]}=y" >> .config
make defconfig # normalize .config and remove dupes make defconfig # normalize .config and remove dupes
make targetclean make targetclean
make download && make download &&