diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..de8d4c8 --- /dev/null +++ b/.gitignore @@ -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/ diff --git a/README.md b/README.md index b416534..86a1448 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/building.sh b/builder.sh similarity index 82% rename from building.sh rename to builder.sh index 3e17d20..bd53cfa 100755 --- a/building.sh +++ b/builder.sh @@ -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}