[subexp-daq] Possible problem in Makefile of NURDLIB

Weber, Guenter Dr. g.weber at hi-jena.gsi.de
Fri Apr 12 16:27:21 CEST 2024


Dear friends,


on line 108 to 110 of the Makefile there is an automatic setting of the VULOM4_FW parameter:


  ifeq (,$(VULOM4_FW))
   VULOM4_FW:=$(shell ls $(TRLOII_PATH)/trloctrl | grep _trlo | $(SED) 's,fw_,,;s,_trlo.*,,')
  endif


However, if I let this run (i.e. VULOM4_FW is not set by hand) the outcome is as follows:


VULOM4_FW = "1409285e 68f8955e 6e4ba1a9 a73c5093 af33ed35"


My understandig is that there should only be a single number selected (1409285e for VULOM4B and 6e4ba1a9 for VULOM4). I checked what the "ls" command produces on two systems:


RIO4L-2 mbsdaq > ls $TRLOII_PATH/trloctrl
Makefile  examples/  find_firmwares.pl*  firmwaredirs  fw_0866c243_rfx1/  fw_1409285e_trlo@  fw_5e8f5ef4_tridi/  fw_68f8955e_trlo_all_in/  fw_6e4ba1a9_trlo/  fw_a1729cda_rfx0/  fw_a73c5093_trlo@  fw_af33ed35_trlo_big/  trloctrl.sh*  trlolib/

RIO4-MCAL-1 mbsdaq > ls $TRLOII_PATH/trloctrl
Makefile  examples/  find_firmwares.pl*  firmwaredirs  fw_0866c243_rfx1/  fw_1409285e_trlo@  fw_5e8f5ef4_tridi/  fw_68f8955e_trlo_all_in/  fw_6e4ba1a9_trlo/  fw_a1729cda_rfx0/  fw_a73c5093_trlo@  fw_af33ed35_trlo_big/  tridi_log.txt  trloctrl.sh*  trlolib/  vulom_log.txt


RIO4L-2 is the one I am working on right now with the VULOM4, whereas RIO4-MCAL-1 is the system already running with VULOM4B.


To me it looks like the code in the Makefile is not working as intended, right?





Best greetings

Günter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chalmers.se/pipermail/subexp-daq/attachments/20240412/eeae4320/attachment.html>


More information about the subexp-daq mailing list