From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2LL9-0001hh-N8 for qemu-devel@nongnu.org; Mon, 16 May 2016 12:25:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2LL4-0001y4-I8 for qemu-devel@nongnu.org; Mon, 16 May 2016 12:25:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2LL3-0001xw-SK for qemu-devel@nongnu.org; Mon, 16 May 2016 12:25:50 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 539497F6A6 for ; Mon, 16 May 2016 16:25:49 +0000 (UTC) References: <1463412982-6681-1-git-send-email-pbonzini@redhat.com> <1463412982-6681-2-git-send-email-pbonzini@redhat.com> <5739F35C.6030000@redhat.com> From: Paolo Bonzini Message-ID: <5739F485.6030101@redhat.com> Date: Mon, 16 May 2016 18:25:41 +0200 MIME-Version: 1.0 In-Reply-To: <5739F35C.6030000@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fPgbE2VkRDo8hK4aUJ0xhbFgQ6UEpcsFQ" Subject: Re: [Qemu-devel] [PATCH 01/50] scripts: add script to build QEMU and analyze inclusions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --fPgbE2VkRDo8hK4aUJ0xhbFgQ6UEpcsFQ From: Paolo Bonzini To: Eric Blake , qemu-devel@nongnu.org Message-ID: <5739F485.6030101@redhat.com> Subject: Re: [Qemu-devel] [PATCH 01/50] scripts: add script to build QEMU and analyze inclusions References: <1463412982-6681-1-git-send-email-pbonzini@redhat.com> <1463412982-6681-2-git-send-email-pbonzini@redhat.com> <5739F35C.6030000@redhat.com> In-Reply-To: <5739F35C.6030000@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 16/05/2016 18:20, Eric Blake wrote: >> +QEMU_CFLAGS=3D$(sed -n s/^QEMU_CFLAGS=3D//p config-host.mak) >> +QEMU_INCLUDES=3D$(sed -n s/^QEMU_INCLUDES=3D//p config-host.mak | \ >> + sed 's/$(SRC_PATH)/../g' ) >=20 > Could avoid a 'sed | sed' by doing: >=20 > QEMU_INCLUDES=3D$(sed -n '/^QEMU_INCLUDES=3D/ s/$(SRC_PATH)/../gp' \ > config-host.mak) >=20 Not quite, I'm removing the "QEMU_INCLUDES=3D" part even if it doesn't match $(SRC_PATH). Paolo --fPgbE2VkRDo8hK4aUJ0xhbFgQ6UEpcsFQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXOfSGAAoJEL/70l94x66DR3sH/291MY1v9E6EtC16Z5Fp3vuy y1pFoN5YRbPquj6KF6GbqI4+JMhHN0qoRxkTgsl9L+OjwuMd3za9eMzobAxQ2ZK6 n3/kTSPRXboqc/z4MPzVuY5MF2xeN4FglyPvOP1GMdPrKT/h93B5BcEQyrCmi5DK uAq6/xiTrbzEJ1nkFepjsjLtng4FoH3K5lB5oVwymX4iIwvpmtspB4gZWdG7n3fm nkcGHw1ZAq7w+r9e8FM/ZwLPWtmVTxoOMmruWPdqwuSbOCiSfvufrP7W5GtGY2Jo kMqzMx5us0V0lEb4e4GfsXic9QvwYMjOnXxDeggcg/Vx68IJdSnW7UQMLi1tRVQ= =TlTZ -----END PGP SIGNATURE----- --fPgbE2VkRDo8hK4aUJ0xhbFgQ6UEpcsFQ--