On 29/02/12 08:05, Vladislav Grishenko wrote:
Same hit here, but due TOP variable is already exported from up-level
Makefile
I have source tree with packages and one general Makefile:

src/dnsmasq/...
src/Makefile
export TOP := $(shell pwd)
dnsmasq:
     $(MAKE) -C $@

So, had to change it to $(MAKE) -C $@ TOP="$(TOP)/$@".
p.s Debian, GNU Make 3.81

Best Regards, Vladislav Grishenko

Ah thanks for that clue. You've prompted me to tidy up the makefile and put all the internal variables in lower-case, as they should be.
I hope that will solve the problems.

Simon.

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to