Skip to content

make clean conflicts with per action "user IP" #798

@david-mle

Description

@david-mle

Hello,
the removal operations of make clean try to remove a directory that potentially contains "user IP" in the form of TCL files. These are to be considered source code and may not be removed.
Currently however, make clean fails to remove them because the rm target is a directory and the rm parameters don't allow directory removal...
Having user IP TCL files in a directory called VHDL is strange anyhow :) Maybe its name should be changed and the remove operation should be dropped from make clean?
Am I not understanding the concept of this hw/vhdl directory or of user IP correctly?

@$(RM) $(ACTION_ROOT)/hw/vhdl

# User IPs
set action_vhdl $action_root/hw/vhdl
if { [file exists $action_vhdl] == 1 } {
set tcl_exists [exec find $action_vhdl/ -name *.tcl]

[CLEAN ENVIRONMENT...] start 16:20:24 Fri Aug 17 2018
vivado project
IPs
sim files
log files
action / application
rm: cannot remove ‘...../actions/...../hw/vhdl’: Is a directory
make[1]: *** [clean] Error 1
make[1]: Leaving directory `....../hardware'
make: *** [menuconfig] Error 2

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