Skip to content

Commit

Permalink
fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor403 committed Sep 2, 2024
1 parent 3b48b4a commit 65954e8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,29 +22,29 @@ jobs:
(cd libfat; sed -i '/rice/d' Makefile; make ogc-install)
- name: Build cubeboot
run: cd entry; make clean && make
- name: Build apploader
run: |
git clone -b force-early-boot --single-branch https://github.com/OffBroadway/gc-boot-tools.git
cd gc-boot-tools
(cd ppc/apploader; make)
(cd mkgbi; make)
ls mkgbi/gbi.hdr
- name: Build GCLoader
run: |
mkdir boot-dir && cp cubeboot/cubeboot.dol boot-dir
genisoimage -R -J -G gc-boot-tools/mkgbi/gbi.hdr -no-emul-boot -b cubeboot.dol -o boot.iso boot-dir
- name: Build PicoBoot
run: |
git clone https://github.com/webhdx/PicoBoot.git
cd PicoBoot; env PICO_SDK_FETCH_FROM_GIT=1 cmake .
./process_ipl.py ../entry/entry.dol src/ipl.h
make
# - name: Build apploader
# run: |
# git clone -b force-early-boot --single-branch https://github.com/OffBroadway/gc-boot-tools.git
# cd gc-boot-tools
# (cd ppc/apploader; make)
# (cd mkgbi; make)
# ls mkgbi/gbi.hdr
# - name: Build GCLoader
# run: |
# mkdir boot-dir && cp cubeboot/cubeboot.dol boot-dir
# genisoimage -R -J -G gc-boot-tools/mkgbi/gbi.hdr -no-emul-boot -b cubeboot.dol -o boot.iso boot-dir
# - name: Build PicoBoot
# run: |
# git clone https://github.com/webhdx/PicoBoot.git
# cd PicoBoot; env PICO_SDK_FETCH_FROM_GIT=1 cmake .
# ./process_ipl.py ../entry/entry.dol src/ipl.h
# make
- name: Rename Artifacts
run: |
mkdir -p dist/next
mv ./boot.iso dist/next/boot.iso
# mv ./boot.iso dist/next/boot.iso
mv ./cubeboot/cubeboot.dol dist/next/cubeboot.dol
mv ./PicoBoot/picoboot.uf2 dist/next/cubeboot.uf2
# mv ./PicoBoot/picoboot.uf2 dist/next/cubeboot.uf2
- name: Archive
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion patches/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ endif
# options for code generation
#---------------------------------------------------------------------------------

CFLAGS = -g -O2 -Wall -Wno-main -ffixed-r12 -ffixed-r13 -ffunction-sections -fdata-sections -Wno-unused-function -Werror-implicit-function-declaration $(MACHDEP) $(INCLUDE)
CFLAGS = -O2 -Wall -Wno-main -ffixed-r12 -ffixed-r13 -ffunction-sections -fdata-sections -Wno-unused-function -Werror-implicit-function-declaration $(MACHDEP) $(INCLUDE)
CXXFLAGS = $(CFLAGS)

LINKER_SCRIPTS :=
Expand Down

0 comments on commit 65954e8

Please sign in to comment.