|
16 | 16 | # compile_kernel |
17 | 17 | # compile_firmware |
18 | 18 | # compile_armbian-config |
19 | | -# compile_xilinx_bootgen |
20 | 19 | # grab_version |
21 | 20 | # find_toolchain |
22 | 21 | # advanced_patch |
@@ -163,11 +162,11 @@ compile_uboot() |
163 | 162 | # create patch for manual source changes |
164 | 163 | [[ $CREATE_PATCHES == yes ]] && userpatch_create "u-boot" |
165 | 164 |
|
166 | | - if [[ -n $OPENSBISOURCE ]]; then |
167 | | - cp -Rv "${opensbitempdir}"/*.bin . |
168 | | - cp -Rv "${opensbitempdir}"/*.elf . |
169 | | - rm -rf "${opensbitempdir}" |
170 | | - fi |
| 165 | + #if [[ -n $OPENSBISOURCE ]]; then |
| 166 | + # cp -Rv "${opensbitempdir}"/*.bin . |
| 167 | + # cp -Rv "${opensbitempdir}"/*.elf . |
| 168 | + # rm -rf "${opensbitempdir}" |
| 169 | + #fi |
171 | 170 |
|
172 | 171 | echo -e "\n\t== u-boot make $BOOTCONFIG ==\n" >> "${DEST}"/${LOG_SUBPATH}/compilation.log |
173 | 172 | eval CCACHE_BASEDIR="$(pwd)" env PATH="${toolchain}:${toolchain2}:${PATH}" \ |
@@ -432,9 +431,6 @@ Before any olddefconfig any Kconfig make is called. |
432 | 431 | A good place to customize the .config directly. |
433 | 432 | CUSTOM_KERNEL_CONFIG |
434 | 433 |
|
435 | | - # hack for deb builder. To pack what's missing in headers pack. |
436 | | - cp "${SRC}"/patch/misc/headers-debian-byteshift.patch /tmp |
437 | | - |
438 | 434 | if [[ $KERNEL_CONFIGURE != yes ]]; then |
439 | 435 | if [[ $BRANCH == default ]]; then |
440 | 436 | eval CCACHE_BASEDIR="$(pwd)" env PATH="${toolchain}:${PATH}" \ |
@@ -731,27 +727,6 @@ compile_armbian-config() |
731 | 727 | rm -rf "${tmp_dir}" |
732 | 728 | } |
733 | 729 |
|
734 | | -compile_xilinx_bootgen() |
735 | | -{ |
736 | | - # Source code checkout |
737 | | - (fetch_from_repo "$GITHUB_SOURCE/Xilinx/bootgen.git" "xilinx-bootgen" "branch:master") |
738 | | - |
739 | | - pushd "${SRC}"/cache/sources/xilinx-bootgen || exit |
740 | | - |
741 | | - # Compile and install only if git commit hash changed |
742 | | - # need to check if /usr/local/bin/bootgen to detect new Docker containers with old cached sources |
743 | | - if [[ ! -f .commit_id || $(improved_git rev-parse @ 2>/dev/null) != $(<.commit_id) || ! -f /usr/local/bin/bootgen ]]; then |
744 | | - display_alert "Compiling" "xilinx-bootgen" "info" |
745 | | - make -s clean >/dev/null |
746 | | - make -s -j$(nproc) bootgen >/dev/null |
747 | | - mkdir -p /usr/local/bin/ |
748 | | - install bootgen /usr/local/bin >/dev/null 2>&1 |
749 | | - improved_git rev-parse @ 2>/dev/null > .commit_id |
750 | | - fi |
751 | | - |
752 | | - popd |
753 | | -} |
754 | | - |
755 | 730 | grab_version() |
756 | 731 | { |
757 | 732 | local ver=() |
|
0 commit comments