From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gvfT7-0005mE-NP for ptxdist@pengutronix.de; Mon, 18 Feb 2019 10:44:09 +0100 Received: by mail-ot1-x333.google.com with SMTP id t7so10844332otk.8 for ; Mon, 18 Feb 2019 01:44:09 -0800 (PST) MIME-Version: 1.0 From: "Chin You Wen (WMSC-HW)" Date: Mon, 18 Feb 2019 17:43:59 +0800 Message-ID: Content-Type: multipart/mixed; boundary="0000000000004f46a3058227f743" Subject: [ptxdist] Append Make Options to Compile Stage of Rule File List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --0000000000004f46a3058227f743 Content-Type: multipart/alternative; boundary="0000000000004f46a1058227f741" --0000000000004f46a1058227f741 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I am writing a rule to compile the libsepol package that comes with plain Makefiles. I am trying to pass *-Wno-error* option through the _MAKE_OPT variable to override the *-Werror *option specified in the package Makefile. I have set LIBSEPOL_CONF_TOOL :=3D NO and also LIBSEPOL_MAKE_ENV :=3D $(CROSS_ENV) LIBSEPOL_MAKE_OPT :=3D \ -Wno-error=3Dshadow The make still runs without the *-Wno-error *option during compilation. In the Quickstart guide, it is noted that "*in the rule file only the two variables FOO_MAKE_ENV and FOO_MAKE_OPT must be set, to forward the required settings to the package=E2=80=99s buildsystem.*" What am I missing? Thanks in advance. --0000000000004f46a1058227f741 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I am writing a rule to comp= ile the libsepol package that comes with plain Makefiles. I am trying to pa= ss -Wno-error option=C2=A0through the <PKG>_MAKE_OPT variable = to override the -Werror option specified in the package Makefile.

I have set=C2=A0=C2=A0
=C2=A0LIBSEPOL_= CONF_TOOL=C2=A0 =C2=A0 =C2=A0 :=3D NO

and also=C2=A0
LIBSEPOL_MAKE_ENV :=3D $(CROSS_ENV)
LIBSEPOL_MA= KE_OPT :=3D \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 -Wno-error=3Dshadow

The make still runs wit= hout the=C2=A0-Wno-error option during compilation.

In the Quickstart guide, it is noted that "in the rule fil= e only the two variables FOO_MAKE_ENV and FOO_MAKE_OPT must be set, to forw= ard the required settings to the package=E2=80=99s buildsystem."= =C2=A0

What am I missing? Thanks in advance.=

--0000000000004f46a1058227f741-- --0000000000004f46a3058227f743 Content-Type: application/octet-stream; name="libsepol.make" Content-Disposition: attachment; filename="libsepol.make" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jsa5k95i0 IyAtKi1tYWtlZmlsZS0qLQojCiMgQ29weXJpZ2h0IChDKSAyMDE5IGJ5IFdNU0MKIwojIFNlZSBD UkVESVRTIGZvciBkZXRhaWxzIGFib3V0IHdobyBoYXMgY29udHJpYnV0ZWQgdG8gdGhpcyBwcm9q ZWN0LgojCiMgRm9yIGZ1cnRoZXIgaW5mb3JtYXRpb24gYWJvdXQgdGhlIFBUWGRpc3QgcHJvamVj dCBhbmQgbGljZW5zZSBjb25kaXRpb25zCiMgc2VlIHRoZSBSRUFETUUgZmlsZS4KIwoKIwojIFdl IHByb3ZpZGUgdGhpcyBwYWNrYWdlCiMKUEFDS0FHRVMtJChQVFhDT05GX0xJQlNFUE9MKSArPSBs aWJzZXBvbAoKIwojIFBhdGhzIGFuZCBuYW1lcwojCkxJQlNFUE9MX1ZFUlNJT04gICAgICAgIDo9 IDIuOApMSUJTRVBPTF9NRDUgICAgICAgICAgICA6PSBhN2E4ZjBlNGUyODE4MDAwYTU0NmIwMzBj MTViODQwMQpMSUJTRVBPTCAgICAgICAg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gQCQoY2FsbCB0b3VjaCkKCiMgLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQojIENsZWFuCiMg LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLQoKIyQoU1RBVEVESVIpL2xpYnNlcG9sLmNsZWFuOgojICAgICAg IEAkKGNhbGwgdGFyZ2V0aW5mbykKIyAgICAgICBAJChjYWxsIGNsZWFuX3BrZywgTElCU0VQT0wp CgojIHZpbTogc3ludGF4PW1ha2UK --0000000000004f46a3058227f743 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --0000000000004f46a3058227f743--