From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 6BAD582147 for ; Tue, 13 Dec 2016 01:46:16 -0800 (PST) Received: by mail-wm0-x232.google.com with SMTP id g23so100882148wme.1 for ; Tue, 13 Dec 2016 01:46:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=EPvDlbaEqOAPekmTlXGn51+i6l76tTU0asBTWs4J1Eg=; b=SjhfOZFuft9gwoedEG97+caeAPlGTGpS4QOZmNKl2WERhe4SP8qzTNpeWlvjg6wplX akNQ0o5LPMA4OhUlHOdGxicDS2DckwuDsaNzG16cJEgezRBxYmCPZLptaJKkX4XCYkzW az+mQp+gHs9aXsYZcbUvKmHg2nQTwlrDmagQ0= 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=EPvDlbaEqOAPekmTlXGn51+i6l76tTU0asBTWs4J1Eg=; b=P8dUls0zYx294YcFNs9tdEcOpZhJsO4sDz7T4hGzfyrSaHqVdP2UvA/avSwv1Ao5B1 sQVvPAk+XgKOtSj8wYFDrqZHnngtvZRMB4OE7etyN1KbWFIQVtvbV9099a1u9Yn0HHcv GEDqZDypRrWjmcTdSyhFHrVI6iI8oJKbz5pto+I7BdSEhOVkGti1BxdrUt9WSwlzUDbx GKXdJoYWpwROrsc1zPhZnpCFABe30gfgCle0HEhvBrVhPJBkXR1lzWGj9uqFbdOp9i9B OFWj+Nfe/zpAKO23OhMZIhG2VbTcaQ0GQA4/79t0pnV3E48ExCR/kGed9b7P0E70MLJG Flag== X-Gm-Message-State: AKaTC00gfmb/dBtbn0c3aw7Xju43moNWuadfUzMAtxVesDgGPmdXFUr42cWiLXLFOoVt158bqWbB8FXLQrXZ6D9M X-Received: by 10.46.9.5 with SMTP id 5mr38407061ljj.23.1481622374229; Tue, 13 Dec 2016 01:46:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.139.135 with HTTP; Tue, 13 Dec 2016 01:46:13 -0800 (PST) In-Reply-To: References: <871F5CDC-1DB2-45ED-96BC-46C4C655FDE8@apple.com> From: Ryan Harkin Date: Tue, 13 Dec 2016 09:46:13 +0000 Message-ID: To: Michael Zimmermann Cc: Andrew Fish , 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: Tue, 13 Dec 2016 09:46:16 -0000 Content-Type: text/plain; charset=UTF-8 Thanks both. I think Andrew's idea is what I'm really looking for. But in the meantime, adding "-s" as Michael suggested is working quite well. On 12 December 2016 at 18:58, Michael Zimmermann wrote: > 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