Message ID | 1399409980-465-2-git-send-email-anders.roxell@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBD5JHFX53YCBBV42UWNQKGQEWNIX7YY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 59A3A202E6 for <linaro@patches.linaro.org>; Tue, 6 May 2014 21:00:07 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id ij19sf179739vcb.1 for <linaro@patches.linaro.org>; Tue, 06 May 2014 14:00:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=hQdFSvMUiBHsNIlGmuoP1koBhaWohtCOZBO2WbFdDdg=; b=DPRFY7StDlVfAC1o/Gw3A/sMn4xdbyxIE9EP4YXlYhx2HIawNu3PK7knsgP/9p1H4K TgOu+DuNnDwP/FBfJWdJhrz99Mjs6AqJbLYaQTruK5YzTxJC4G6j+fgIFJXCg1iDC5IT 81x681UOAzc5ezacreeqKwoP+2AlFb7KXxONnHteJxJ9P3AbJEMOJVIauav+ZRn+Yu83 HFI2+uiEePRZDWOIGiCTXTkbzhKrvJwUOepySJVkTzwDostIRsZzzgux84z2k/zyCpDu 87wOsYhKMf5UOIQdju0HCj7MTkjVcJKnPWY0eu9wN0GPQbXC6gllYbNwNbbtzqXdFEO3 k7TA== X-Gm-Message-State: ALoCoQkA7m2+r2596V1GndYVxMX+fyY9vG7PBzEIkCXqJ4mXIvZpeKR2i7z1j/VnPUgz4b5ePQQn X-Received: by 10.236.123.68 with SMTP id u44mr2075761yhh.19.1399410007620; Tue, 06 May 2014 14:00:07 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.101.247 with SMTP id u110ls1148171qge.79.gmail; Tue, 06 May 2014 14:00:07 -0700 (PDT) X-Received: by 10.220.167.2 with SMTP id o2mr34870737vcy.8.1399410007435; Tue, 06 May 2014 14:00:07 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id w5si2530494vcl.66.2014.05.06.14.00.07 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 May 2014 14:00:07 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id if11so72032vcb.8 for <patchwork-forward@linaro.org>; Tue, 06 May 2014 14:00:07 -0700 (PDT) X-Received: by 10.221.4.66 with SMTP id ob2mr8381540vcb.28.1399410007368; Tue, 06 May 2014 14:00:07 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp255287vcb; Tue, 6 May 2014 14:00:07 -0700 (PDT) X-Received: by 10.229.221.194 with SMTP id id2mr57554330qcb.5.1399410006927; Tue, 06 May 2014 14:00:06 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id v7si4224820qge.16.2014.05.06.14.00.06 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 06 May 2014 14:00:06 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from <lng-odp-bounces@lists.linaro.org>) id 1WhmST-00042D-OO; Tue, 06 May 2014 20:59:25 +0000 Received: from mail-lb0-f169.google.com ([209.85.217.169]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from <anders.roxell@linaro.org>) id 1WhmSN-00041l-0Z for lng-odp@lists.linaro.org; Tue, 06 May 2014 20:59:19 +0000 Received: by mail-lb0-f169.google.com with SMTP id s7so78469lbd.0 for <lng-odp@lists.linaro.org>; Tue, 06 May 2014 13:59:53 -0700 (PDT) X-Received: by 10.112.141.130 with SMTP id ro2mr10600810lbb.42.1399409992990; Tue, 06 May 2014 13:59:52 -0700 (PDT) Received: from localhost (c-853670d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.54.133]) by mx.google.com with ESMTPSA id k2sm14850129lbm.23.2014.05.06.13.59.51 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 06 May 2014 13:59:52 -0700 (PDT) From: Anders Roxell <anders.roxell@linaro.org> To: lng-odp@lists.linaro.org Date: Tue, 6 May 2014 22:59:39 +0200 Message-Id: <1399409980-465-2-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1399409980-465-1-git-send-email-anders.roxell@linaro.org> References: <1399409980-465-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv2 1/2] Makefile.inc: DEBUG=yes to build debug X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: anders.roxell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/Makefile.inc b/Makefile.inc index a5aeb8b..6b292ce 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -18,8 +18,13 @@ RM := rm -f COPY := cp -r EXTRA_CFLAGS += -DODP_DEBUG=1 + +ifeq ($(DEBUG),yes) +EXTRA_CFLAGS += -O0 -g +else EXTRA_CFLAGS += -O3 -#EXTRA_CFLAGS += -O0 -g +endif + EXTRA_CFLAGS += -pthread EXTRA_CFLAGS += -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes EXTRA_CFLAGS += -Wmissing-declarations -Wold-style-definition -Wpointer-arith
DEBUG=yes to add -O0 -g to EXTRA_CFLAGS Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- Makefile.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)