11 Oct 00:34
Re: parisc arch makefile clean-up needed [Was: cleaning up "make headers_install" for various architectures]
Mike Frysinger <vapier <at> gentoo.org>
2007-10-10 22:34:44 GMT
2007-10-10 22:34:44 GMT
On Wednesday 10 October 2007, Sam Ravnborg wrote: > And this snippet is also wrong: > PALO := $(shell if which palo; then : ; \ > elif [ -x /sbin/palo ]; then echo /sbin/palo; \ > fi) > > palo: vmlinux > @if [ -x $PALO ]; then \ > > > Make does not export variables so $PALO is not the same as $(PALO). > The latter should be used. not even really an export issue ... $PALO will be interpreted by make as $(P)ALO and the script will do [ -x ALO ] which is obviously no good :) -mike
_______________________________________________ parisc-linux mailing list parisc-linux <at> lists.parisc-linux.org http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
RSS Feed