Don't know which is the correct forum for this but I have recently imported a project from HEW to e2studio. Manually rather than use the import function as we have lots of special processes involved.
The project builds fine but I would like to run the makefile it generates from the command line so that I can use a gitlab runner to compile the project.
So far I have checked into gitlab all the makefile, the makefile.init objects.mk, source.mk and any subdir.mk files.
If I run the makefile from the HardwareDebug directory using the following command
>c:\Renesas\e2_studio\Utilities\make -j4 all
everything build fine.
In gitlab I have registered a runner to execute the following script to build
build: script: - cd HardwareDebug - c:\\renesas\\e2_studio\\utilities\\make -j4 all
this almost works but finishes with the following error
rx-elf-gcc -T "C:/WorkSpace/90460_SmartCell_CIE_Eclipse/generate/linker_script.ld" -L"C:\WorkSpace\90460_SmartCell_CIE_Eclipse\HardwareDebug" -Wl,-M=90460_SmartCell_CIE_Eclipse.map -Wl,--start-group -l90460_SmartCell_CIE_Eclipse -lgcc -Wl,--end-group -nostartfiles -Wl,-e_PowerON_Reset -o "90460_SmartCell_CIE_Eclipse.elf"
c:/program files (x86)/kpit/gnurxv16.01-elf/rx-elf/rx-elf/bin/../lib/gcc/rx-elf/4.8-GNURX_v16.01/../../../../rx-elf/bin/ld.exe: cannot find -90460_SmartCell_CIE_Eclipse
collect2.exe: error: ld returned 1 exit statusmakefile:88: recipe for target '90460_SmartCell_CIE_Eclipse.elf' failedmake: *** [90460_SmartCell_CIE_Eclipse.elf] Error 1
Here is the correct ending when running from the command line
rx-elf-gcc -T "C:/WorkSpace/90460_SmartCell_CIE_Eclipse/generate/linker_script.ld" -L"C:\WorkSpace\90460_SmartCell_CIE_Eclipse\HardwareDebug" -Wl,-M=90460_SmartCell_CIE_Eclipse.map -Wl,--start-group -l90460_SmartCell_CIE_Eclipse -lgcc -Wl,--end-group -nostartfiles -Wl,-e_PowerON_Reset -o "90460_SmartCell_CIE_Eclipse.elf"'Finished building target: 90460_SmartCell_CIE_Eclipse.elf'' ''Invoking Object Copy'rx-elf-objcopy "90460_SmartCell_CIE_Eclipse.elf" -O srec -I elf32-rx-be-ns "90460_SmartCell_CIE_Eclipse.mot"'Finished building: 90460_SmartCell_CIE_Eclipse.mot'' '
Has anyone successfully run the make process from gitlab or come across the error above.
Paul