Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
israpps committed Jan 11, 2025
1 parent d0198dd commit b15772b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
eth: ["ETH=0", "ETH=1"]
bdmstuff: ["EXFAT=0", "EXFAT=1", "EXFAT=1 MX4SIO=1"]
ds34: ["DS34=0", "DS34=1"]
mmce: ["MMCE=0", "MMCE=1"]
exclude:
- bdmstuff: "EXFAT=1 MX4SIO=1"
mmce: "MMCE=1"
runs-on: ubuntu-latest
container: ps2dev/ps2dev:v1.0
steps:
Expand All @@ -32,12 +36,12 @@ jobs:
- name: Compile wLaunchELF
run: |
make rebuild ${{ matrix.eth }} ${{ matrix.sior }} ${{ matrix.bdmstuff }} ${{ matrix.ds34 }} ${{ matrix.xfrom }} ${{ github.event.inputs.make_args }}
make rebuild ${{ matrix.eth }} ${{ matrix.mmce }} ${{ matrix.bdmstuff }} ${{ matrix.ds34 }} ${{ matrix.xfrom }} ${{ github.event.inputs.make_args }}
- name: Upload variants artifact ELF
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: WLE
name: "WLE-${{ matrix.eth }}-${{ matrix.mmce }}-${{ matrix.bdmstuff }}-${{ matrix.ds34 }}-${{ matrix.xfrom }}"
path: |
BOOT*.ELF
Expand All @@ -48,13 +52,17 @@ jobs:
needs: [build]
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git fetch --prune --unshallow
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: WLE/
pattern: "WLE-*"
merge-multiple: true

- name: list
run: |
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ LCDVD ?= LEGACY#or LATEST
# ----------------------------- #
.SILENT:

BIN_NAME = $(HAS_EXFAT)$(HAS_DS34)$(HAS_ETH)$(HAS_SMB)$(HAS_DVRP)$(HAS_XFROM)$(HAS_MX4SIO)$(HAS_MMCE)$(HAS_EESIO)$(HAS_UDPTTY)$(HAS_PPCTTY)$(HAS_IOP_RESET)
BIN_NAME = $(HAS_EXFAT)$(HAS_DS34)$(HAS_ETH)$(HAS_MX4SIO)$(HAS_MMCE)$(HAS_SMB)$(HAS_DVRP)$(HAS_XFROM)$(HAS_EESIO)$(HAS_UDPTTY)$(HAS_PPCTTY)$(HAS_IOP_RESET)
ifeq ($(DEBUG), 0)
EE_BIN = UNC-BOOT$(BIN_NAME).ELF
EE_BIN_PKD = BOOT$(BIN_NAME).ELF
Expand Down Expand Up @@ -83,7 +83,7 @@ endif
ifeq ($(MMCE),1)
EE_OBJS += mmceman_irx.o
EE_CFLAGS += -DMMCE
HAS_DVRP = -MMCE
HAS_MMCE = -MMCE
SIO2MAN = 1
endif

Expand Down

0 comments on commit b15772b

Please sign in to comment.