NetFPGA / P4-NetFPGA-public

P4-NetFPGA wiki
103 stars 31 forks source link

cam, tcam & make clean in the $SUME_FOLDER #3

Open SharleneFletcher opened 6 years ago

SharleneFletcher commented 6 years ago

Hi,

lib/hw/xilinx/cores/tcam_v1_1_0/README ends with the following note:

Note: Whenever you run 'make clean' in the $SUME_FOLDER, you need to run again 
'make' into tcam_v*_*_* folder, to create the IP.

but in "Steps for initial setup" (step 8) instructs to execute:

$ cd $SUME_FOLDER/lib/hw/xilinx/cores/tcam_v1_1_0/ && make update && make
$ cd $SUME_FOLDER/lib/hw/xilinx/cores/cam_v1_1_0/ && make update && make
$ cd $SUME_SDNET/sw/sume && make
$ cd $SUME_FOLDER && make

Inspecting $SUME_FOLDER/Makefile reveals that its default target all depends on target clean. I.e. cd $SUME_FOLDER && make will execute make clean in the $SUME_FOLDER.

Is the README note obsolete?

Regards, Sharlene