|
@@ -549,13 +549,17 @@ 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 ! curl -so .config "$SEED_URL"; then
|
|
|
|
- echo "Could not obtain seed config"
|
|
|
|
|
|
+ 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
|
|
fi
|
|
else
|
|
else
|
|
echo "Reusing existing .config"
|
|
echo "Reusing existing .config"
|
|
@@ -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 &&
|