From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 324C28213C for ; Mon, 12 Dec 2016 10:58:38 -0800 (PST) Received: by mail-wm0-x242.google.com with SMTP id g23so13197119wme.1 for ; Mon, 12 Dec 2016 10:58:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=I+njQ7b8ziebDqiYQYRxj9rqMgqtXAxBYxiJsIuiwKo=; b=MFA17OzyoRBX6b0begkCOlN8fw/A8Ds8vevyz5BM8T/SAOSTbqEzw7QS/49lcRLWC0 QmJDrJR48kDU3zGme4wA5YpzxWoF+CKK19glOEo6jIJo4vVEKHXw3z6OJA92iz/1VNt9 PEt+ncDcSCmbH1rCm6Nn3J8rm6YlViRgqgLxPZniumUnDHLspbjwQt7GgjwtU+oPaVVX /FGoh7nWgnz/ZjqxXStNozOdTTN/vm5Zh/vOsfp2pwo8y/MR+Gp6ObFLdVxi5HszCZHj Aj6/nN7yh7U+4NTGGLFiQIzhMDPeUqJdv338Q+Huamy4mDnzCRlzi+t4jYdOV3r39fR9 ow2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=I+njQ7b8ziebDqiYQYRxj9rqMgqtXAxBYxiJsIuiwKo=; b=BuqwBWirHFbUJ3VkzWbkTgfa7LV4leR80Cgp7XnYUTCkaJItrp6BztegdBxMj9FNzo w2fZSFApV0zmVveJq0GjG/I3bDpnNAkNoRrRrmun724O0+vS1mmo4H3nuipYvyvJNgeS esP6j2XeWTIKrd9ml0JGBX3iVr9Iv9OgjlVCdsDgyAqqLqhRmuqYRt0kBw4i9xUH3hxT XY+0mkb6nABOkE/UUYgCaiFm9Odgi0DxCu8M36D/ZbdDXfvl011xHQVji2fvJqu2dM5T 88dGESkUQLc+RsHRSq0NrIWvo3o/LKkHt8ffSA1D/MlNAk4eLpj/J4uYIcT+Xu1eEsNt h6zg== X-Gm-Message-State: AKaTC01B4BkhDmbgjcf1I3DsSMv/wSXg3LfBuNGljexfeQ7W95VhR5T3qqCp4BnwNwgGzWebRDIqRs+BZWPL3A== X-Received: by 10.28.181.197 with SMTP id e188mr18477157wmf.32.1481569116653; Mon, 12 Dec 2016 10:58:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.183.2 with HTTP; Mon, 12 Dec 2016 10:58:36 -0800 (PST) In-Reply-To: <871F5CDC-1DB2-45ED-96BC-46C4C655FDE8@apple.com> References: <871F5CDC-1DB2-45ED-96BC-46C4C655FDE8@apple.com> From: Michael Zimmermann Date: Mon, 12 Dec 2016 19:58:36 +0100 Message-ID: To: Andrew Fish Cc: Ryan Harkin , edk2-devel-01 Subject: Re: How to silence a build? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2016 18:58:38 -0000 Content-Type: text/plain; charset=UTF-8 these build command options are probably what you want: -s, --silent Make use of silent mode of (n)make. -q, --quiet Disable all messages except FATAL ERRORS. -v, --verbose Turn on verbose output with informational messages printed, including library instances selected, final dependency expression, and warning messages, etc. -d DEBUG, --debug=DEBUG Enable debug messages at specified level. Thanks, Michael On Mon, Dec 12, 2016 at 7:34 PM, Andrew Fish wrote: > >> On Dec 12, 2016, at 10:27 AM, Ryan Harkin wrote: >> >> Hello all, >> >> Perhaps someone here can save me trying to decrypt the EDK2 build system. >> >> When I build EDK2, I get lots of output like this single line >> generated for compiling a single source file: >> >> "/linaro/extra-data/ci/workspace-lsk/tools/gcc/gcc-linaro-5.3.1-2016.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc" >> -I/linaro/extra-data/ci/workspace-lsk/uefi/edk2/ArmPlatformPkg/ArmVExpressPkg/Include >> -I/linaro/extra-data/ci/workspace-lsk/uefi/edk2/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM >> -g -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-array-bounds >> -ffunction-sections -fdata-sections -include AutoGen.h -fno-common >> -DSTRING_ARRAY_NAME=UiAppStrings -g -Os -fshort-wchar >> -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -include >> AutoGen.h -fno-common -mlittle-endian -fno-short-enums -fverbose-asm >> -funsigned-char -ffunction-sections -fdata-sections -fno-builtin >> -Wno-address -fno-asynchronous-unwind-tables -save-temps -O0 >> -mcmodel=small -c -o >> /linaro/extra-data/ci/workspace-lsk/uefi/edk2/Build/ArmVExpress-FVP-AArch64/DEBUG_GCC5/AARCH64/MdeModulePkg/Application/UiApp/UiApp/OUTPUT/./String.obj >> -I/linaro/extra-data/ci/workspace-lsk/uefi/edk2/MdeModulePkg/Application/UiApp >> -I/linaro/extra-data/ci/workspace-lsk/uefi/edk2/Build/ArmVExpress-FVP-AArch64/DEBUG_GCC5/AARCH64/MdeModulePkg/Application/UiApp/UiApp/DEBUG >> -I/linaro/extra-data/ci/workspace-lsk/uefi/edk2/MdePkg >> -I/linaro/extra-data/ci/workspace-lsk/uefi/edk2/MdePkg/Include >> -I/linaro/extra-data/ci/workspace-lsk/uefi/edk2/MdePkg/Include/AArch64 >> -I/linaro/extra-data/ci/workspace-lsk/uefi/edk2/MdeModulePkg >> -I/linaro/extra-data/ci/workspace-lsk/uefi/edk2/MdeModulePkg/Include >> /linaro/extra-data/ci/workspace-lsk/uefi/edk2/MdeModulePkg/Application/UiApp/String.c >> >> When I build the linux kernel, I see output like this: >> >> CC kernel/nsproxy.o >> OBJCOPY arch/arm64/kernel/efi-entry.stub.o >> >> Is there an option to make EDK2 do something like this? >> >> Or can someone point me where I might look so I can think about >> implementing it? > > Ryan, > > The content of Conf/build_rule.txt is used to construct the makefiles. The rules under will get translated into the generated makefiles. If you prepend an @ that makefile line should no longer echo. > > The Conf/build_rule.txt will get copied from the BaseTools/Conf//build_rule.template if it does not exist when you run edksetup.sh. > > You can always add an @print line to print out anything you want. > > Thanks, > > Andrew Fish > > >> I've had a look around and wasn't able to work out >> what was generating the output. I guess that means my chances of >> changing the behaviour are slim too... >> >> Thanks, >> Ryan. >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org >> https://lists.01.org/mailman/listinfo/edk2-devel > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel