Skip to content

Commit bc1dc90

Browse files
authored
[IOP] warn of IOP_BIN without .irx extension breaks makefile
new toolchain does extension replacement. this will warn the programmer of such issue. If you have a better approach let me know
1 parent bdea152 commit bc1dc90

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)