To explain the first yellow box (from the top, the first one, after linking application.elf, and building the necessary files), I am running a makerom command to build a CIA file immediately after the ELF file is created. This is done from within the Makefile.
But, as you can see, it errors out. Here's where it gets weird.
For the second yellow box, I literally copied the exact output echoed from the Makefile from the first yellow box, and ran the command. It successfully created the CIA file, and did not report any errors.
---------------
I really wanted to know why it happens. I can make CIA files just fine, but I see a lot more benefits if I can simplify the whole process down into a single "make" command.
How is this possible? Why can't I run the command from the Makefile, and must run it outside of Makefile in order to get the CIA? Is there something that I am missing?
Thank you. Hoping to see some answers to this issue.