Skip to content

Commit a349ca0

Browse files
committed
add generic recipe for IOPRP Images
1 parent 3fdb7f8 commit a349ca0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

samples/Makefile.eeglobal_sample

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,12 @@ $(EE_ERL): $(EE_OBJS)
9292
$(EE_LIB): $(EE_OBJS)
9393
$(DIR_GUARD)
9494
$(EE_AR) cru $(EE_LIB) $(EE_OBJS)
95+
96+
$(IOPRP_BIN): $(IOPRP_CONTENTS)
97+
ifeq (_$(IOPRP_CONTENTS)_,__)
98+
$(error Cannot generate IOPRP if 'IOPRP_CONTENTS' variable is empty)
99+
else
100+
$(DIR_GUARD)
101+
romimg -c $@ $<
102+
endif
103+

0 commit comments

Comments
 (0)