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

Mike Frysinger <[email protected]> Wed, 10 Oct 2007 18:34:44 -0400
Newsgroups gmane.linux.ports.hppa
Organization wh0rd.org
Message-ID <[email protected]>
--===============0809218664==
Content-Type: multipart/signed;
  boundary="nextPart2284211.i82P1LFEQo";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart2284211.i82P1LFEQo
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 10 October 2007, Sam Ravnborg wrote:
> And this snippet is also wrong:
> PALO :=3D $(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=20
$(P)ALO and the script will do [ -x ALO ] which is obviously no good :)
=2Dmike

--nextPart2284211.i82P1LFEQo
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iQIVAwUARw1ThEFjO5/oN/WBAQINtRAAi2CcgWcO7x4G+DLtokqcua5hLiCBO2Q+
nJ6cgUklvVum8VUAqIVJiOO78G8nhEwRNV+squFreJhfoPfuttYKFEsd2uisrRmo
XU+ymCLdRNhkUItSNkAGifZh5/FKa8yKCcXP8PVryJVUAoFyYG7F4mIIZeiReBOJ
VdX2+Cq19ZXcM/mAEqkgNbdE/cgZvB7atzXYKixMl8F5zo0cPa4JJ19LyIjhUtHu
X/EKEwK8WXw1Utum4WGeQcSAc7vxT4Rd+ZZsWsKlEQKB01b8VlrPiiQ4HM3v8j8H
mRNlWZavKHP6gC3tSYUlCq+T8t7zx1Q3aBaJwatgnGgMIuE3pegMe142Yl2AI+kl
odf09t8Mom+p8faKyaHgGj6oo06lXn87vtV3jtJhKybekheQUquZ4yKTcPZmOvpU
sSydxvljaUjsyyxcIXsprTkn5Bp1BSaMfcfsYvOVkOkbwLmPaKXjEmNQo7VY14pB
+cDWzM16st7O1lpMx6vunq9jNfKPQVghoc5fx6fyQNsyeccaPaDqYCFr04fynz2C
unIYfcR6Jj9YOiCDzc64QWcdhbXqEn8oMu3JGNB9lEVwQAn6TcwNUrWY6Wxj5LK4
qRwA7TesnMHEPyvZF4yCEmpLa9rrkvyYcPhUd9S1MAYu8Mq0H+G1eri+L6WfSQBm
DA37F1w0V2E=
=UDQg
-----END PGP SIGNATURE-----

--nextPart2284211.i82P1LFEQo--

--===============0809218664==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
--===============0809218664==--