Skip to content

Commit

Permalink
Change Makefile and workwlow
Browse files Browse the repository at this point in the history
  • Loading branch information
S199pWa1k9r committed May 30, 2022
1 parent b3dac14 commit 966e7aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ jobs:
- uses: actions/checkout@v2
- name: Install toolchain
run: |
sudo apt install gcc-aarch64-linux-gnu device-tree-compiler
sudo apt install gawk ccache gettext libssl-dev libncurses5
sudo apt install patch zlib1g-dev
sudo apt install device-tree-compiler
wget -q https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/aarch64-linux-gnu/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz
mkdir -p bin
tar -xJf gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz -C bin/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
run: |
sudo apt install device-tree-compiler
wget -q https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/aarch64-linux-gnu/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz
mkdir -p bin
mkdir -p ./bin
tar -xJf gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz -C bin/
rm gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz
- name: version
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ ${UBT}/.config:

${UBT}/u-boot.bin: ${UBT}/.config
@echo " => Building U-boot"
make -C ${UBT} CROSS_COMPILE=${COM} V=1 DEVICE_TREE=armada-7040-mochabin
make -C ${UBT} CROSS_COMPILE=${COM} V=0 DEVICE_TREE=armada-7040-mochabin

bl31:
@echo " => Building BL31"
make -C ${ATF} CROSS_COMPILE=${COM} MV_DDR_PATH=${DDR} SCP_BL2=${SCP} \
BL33=${UBT}/u-boot.bin \
${PAR} DEBUG=${DEB} DDR_TOPOLOGY=${RAM} PLAT=a70x0_mochabin \
bl31 all fip
bl31

fit: ${UBT}/u-boot.bin
@echo " => Building U-boot FIT"
Expand Down

0 comments on commit 966e7aa

Please sign in to comment.