mirror of
https://github.com/nikdoof/builder.git
synced 2025-12-13 15:42:20 +00:00
Update and rename files
This commit is contained in:
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal 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/
|
||||
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user