Skip to content

progen build --copy fails #487

@jawi

Description

@jawi

Running progen --copy -t make_gcc_arm fails:

$ progen build -vvv -c -t make_gcc_arm
progen DEBUG	This should be the project root: /tmp/progen-test
progen.tools DEBUG	Generating: build/make_gcc_arm_blinky_test/Makefile
progen.project DEBUG	Building for tool: make_gcc_arm
progen.project DEBUG	{'make_gcc_arm': {'path': 'build/make_gcc_arm_blinky_test', 'files': {'makefile': 'build/make_gcc_arm_blinky_test/Makefile'}}}
progen.tools.gccarm DEBUG	Building make project: build/make_gcc_arm_blinky_test
progen.tools.gccarm DEBUG	['make', '-j', '1', 'all']
make: *** No rule to make target 'blinky_l476/stm32l4xx.ld', needed by 'build/blinky_test.generated.ld'.  Stop.
progen.tools.gccarm ERROR	Project: errors build failed with the status: build/make_gcc_arm_blinky_test/Makefile

While running without the --copy flag succeeds:

$ progen build -vvv -t make_gcc_arm
progen DEBUG	This should be the project root: /tmp/progen-test
progen.tools DEBUG	Generating: build/make_gcc_arm_blinky_test/Makefile
progen.project DEBUG	Building for tool: make_gcc_arm
progen.project DEBUG	{'make_gcc_arm': {'path': 'build/make_gcc_arm_blinky_test', 'files': {'makefile': 'build/make_gcc_arm_blinky_test/Makefile'}}}
progen.tools.gccarm DEBUG	Building make project: build/make_gcc_arm_blinky_test
progen.tools.gccarm DEBUG	['make', '-j', '1', 'all']
Preprocessing ../../blinky_l476/stm32l4xx.ld
Compiling ../../blinky_l476/src/main.c
Linking build/blinky_test.elf
/usr/lib/gcc/arm-none-eabi/8.3.1/../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol Reset_Handler; defaulting to 0000000008000004
   text	   data	    bss	    dec	    hex	filename
    916	   1096	   1568	   3580	    dfc	build/blinky_test.elf
    916	   1096	   1568	   3580	    dfc	(TOTALS)
Converting build/blinky_test.hex
Converting build/blinky_test.bin
progen.tools.gccarm INFO	Built make_gcc_arm_blinky_test with the status: no errors

It appears that the --copy flag does not copy anything to the generated output directory.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions