Skip to content

Commit f8058c5

Browse files
authored
Merge pull request #737 from israpps/patch-22
[IOP] warn of `IOP_BIN` without `.irx` extension breaks makefile
2 parents 86877b1 + bc1dc90 commit f8058c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

samples/Makefile.iopglobal_sample

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ IOP_BIN_ELF := $(IOP_BIN:.irx=.notiopmod.elf)
7878

7979
IOP_BIN_STRIPPED_ELF := $(IOP_BIN:.irx=.notiopmod.stripped.elf)
8080

81+
ifeq (,$(findstring .irx,$(IOP_BIN)))
82+
$(warning IOP_BIN must have .irx extension to avoid makefile circular dependency)
83+
endif
84+
8185
# Externally defined variables: IOP_BIN, IOP_OBJS, IOP_LIB
8286

8387
# These macros can be used to simplify certain build rules.

0 commit comments

Comments
 (0)