[sr-dev] make appears to be in infinite loop

Juha Heinanen jh at tutpro.com
Mon Dec 12 14:04:23 CET 2016


Daniel-Constantin Mierla writes:

> I pushed a small patch that allows specifying the name from command
> line, like:
> 
> cd utils/kamcmd/
> 
> make NAME=mykamcmd ...

Looks like that make is called from for loop in src/Makefile and it is
not that easy to add the param.  Perhaps easier solution would be to add
empty NAME line in kamcmd Makefile:

auto_gen=
RELEASE=0.2
UTIL_SRC_NAME=kamcmd
NAME=
ifeq ($(FLAVOUR),ser)
	NAME?=sercmd
else
	NAME?=kamcmd
endif

Then the name could be easily changed by adding a value to NAME.

-- Juha



More information about the sr-dev mailing list