Update and rename files

This commit is contained in:
Signor Pellegrino (from Citadel PC)
2023-11-30 22:10:20 +03:00
parent bb92bfeda7
commit 3ab2b6f6fe
3 changed files with 10 additions and 20 deletions

9
.gitignore vendored Normal file
View File

@@ -0,0 +1,9 @@
# These are some examples of commonly ignored file patterns.
# You should customize this list as applicable to your project.
# Learn more about .gitignore:
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
# Assembly folders
/archive/
/cache/
/openipc/

View File

@@ -17,7 +17,7 @@ sudo apt-get update -y
sudo apt-get install -y automake autotools-dev bc build-essential curl fzf git libtool rsync unzip mc tree python-is-python3
git clone https://github.com/openipc/builder.git
cd builder
./building.sh
./builder.sh
```
### List of known devices

View File

@@ -69,20 +69,6 @@ select_device() {
fi
}
copy_extra_packages() {
extra_packages=${BUILDER_DIR}/packages
firmware_packages=${FIRMWARE_DIR}/general/package
cp -afv $extra_packages/* $firmware_packages
packages_list_file=$firmware_packages/Config.in
for f in "$extra_packages"/*
do
package_name=$(basename $f)
if ! grep -Fq "$package_name" $packages_list_file
then
printf 'source "$BR2_EXTERNAL_GENERAL_PATH/package/%s/Config.in"\n' $package_name >> $packages_list_file
fi
done
}
echo_c 37 "Experimental system for building OpenIPC firmware for known devices"
echo_c 30 "https://openipc.org/"
@@ -110,11 +96,6 @@ else
# git pull --rebase
fi
echo_c 33 "\nCopying extra packages"
# cp -afv ${BUILDER_DIR}/packages/* ${FIRMWARE_DIR}/general/package
copy_extra_packages
echo_c 33 "\nCopying device files"
cp -afv ${BUILDER_DIR}/devices/${DEVICE}/* ${FIRMWARE_DIR}