[parisc-linux] parisc arch makefile clean-up needed [Was: cleaning up "make headers_install" for various architectures]

Mike Frysinger vapier at gentoo.org
Wed Oct 10 16:34:44 MDT 2007


On Wednesday 10 October 2007, Sam Ravnborg wrote:
> And this snippet is also wrong:
> PALO :> 	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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20071010/e8ed98a6/attachment-0002.pgp 


More information about the parisc-linux mailing list