|
76 | 76 | ./configure --target=z80-none-elf --with-zstd=no --disable-gdb --disable-sim --disable-readline --disable-nls --disable-shared --enable-static --prefix="$PREFIX" |
77 | 77 | make configure-host && make -j4 LDFLAGS="-all-static" MAKEINFO=true && make install-strip -j4 MAKEINFO=true |
78 | 78 |
|
| 79 | + - name: "[Unix] Install License Files" |
| 80 | + if: runner.os != 'Windows' |
| 81 | + shell: bash |
| 82 | + run: | |
| 83 | + mkdir -p "${{ runner.temp }}/binutils/license" |
| 84 | + cp COPYING3 "${{ runner.temp }}/binutils/license/" |
| 85 | + cp COPYING3.LIB "${{ runner.temp }}/binutils/license/" |
| 86 | + cat > "${{ runner.temp }}/binutils/readme.txt" <<EOF |
| 87 | + This is a pre-built distribution of GNU binutils for z80-none-elf. |
| 88 | + |
| 89 | + Source: https://github.com/CE-Programming/binutils-gdb.git |
| 90 | + Original Source: https://sourceware.org/git/binutils-gdb.git |
| 91 | + |
| 92 | + This software is licensed under the GNU General Public License v3. |
| 93 | + See the license directory for full license texts. |
| 94 | + |
| 95 | + Source code is available at the URLs above. |
| 96 | + No modifications have been made to the original source. |
| 97 | + EOF |
| 98 | + - name: "[Windows] Install License Files" |
| 99 | + if: runner.os == 'Windows' |
| 100 | + shell: msys2 {0} |
| 101 | + run: | |
| 102 | + INSTALL_DIR=$(cygpath -u "${{ runner.temp }}/binutils") |
| 103 | + mkdir -p "$INSTALL_DIR/license" |
| 104 | + cp COPYING3 "$INSTALL_DIR/license/" |
| 105 | + cp COPYING3.LIB "$INSTALL_DIR/license/" |
| 106 | + cat > "$INSTALL_DIR/readme.txt" <<EOF |
| 107 | + This is a pre-built distribution of GNU binutils for z80-none-elf. |
| 108 | + |
| 109 | + Source: https://github.com/CE-Programming/binutils-gdb.git |
| 110 | + Original Source: https://sourceware.org/git/binutils-gdb.git |
| 111 | + |
| 112 | + This software is licensed under the GNU General Public License v3. |
| 113 | + See the license directory for full license texts. |
| 114 | + |
| 115 | + Source code is available at the URLs above. |
| 116 | + No modifications have been made to the original source. |
| 117 | + EOF |
| 118 | +
|
79 | 119 | - name: "[Unix] Tar install" |
80 | 120 | if: runner.os != 'Windows' |
81 | 121 | shell: bash |
|
0 commit comments