Only compile our target
This commit is contained in:
@@ -549,14 +549,18 @@ fromSource() {
|
||||
git checkout "v$RELEASE"
|
||||
fi
|
||||
|
||||
./scripts/feeds update -a
|
||||
# Update packages
|
||||
./scripts/feeds update -a &&
|
||||
./scripts/feeds install -a
|
||||
|
||||
# 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
|
||||
echo "Could not obtain seed config"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
echo "Reusing existing .config"
|
||||
fi
|
||||
@@ -570,6 +574,11 @@ fromSource() {
|
||||
fi
|
||||
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 targetclean
|
||||
make download &&
|
||||
|
||||
Reference in New Issue
Block a user