From patchwork Wed Jul 9 21:18:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 33351 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f70.google.com (mail-oa0-f70.google.com [209.85.219.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E6948203F4 for ; Wed, 9 Jul 2014 21:19:26 +0000 (UTC) Received: by mail-oa0-f70.google.com with SMTP id o6sf12115394oag.5 for ; Wed, 09 Jul 2014 14:19:26 -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: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=fWr/4Tt0PsjVhyVQpF03QOCf6UfJ0OsBTv31wya9DHI=; b=KcSIt+7qEaqVJ+5Plmj8yv8GynojOr4SeAkCY0eFhQjLLYiIGCop6kxWOEzOuYrehW 9TnuI547ffuG7I1BclNxXSA/AcAJu8fOHtFYpQQUIP/sHuvKYV7heLOlJhZdiOY/Riro rFt1+Q5KSZwYCECV3C4TKD2yRoCsF8k9l53SP0wwCzYaTz5JFgSbpDrwwRGjFtu7TIfz GtIsKbjjY87Fb0jtneSm58KoXTBqXb4+gmVzr+4DtxAOHE7aovKQWH/ikkyYBaG0iRsP joKdj80TcH0FbVUZ1TE2P8Tj3Gz7TrZe7e+SJ9vAhvM+V+NYBgXlyFghL4iJzjnbBRTR 6ZtQ== X-Gm-Message-State: ALoCoQk0jvWuW0Nk+reG3IMjSXqvxG2BI+rice81G4JYlouQrwweiPMBZg32EB+QaHThyIKZO8Yc X-Received: by 10.43.58.137 with SMTP id wk9mr22267258icb.10.1404940766435; Wed, 09 Jul 2014 14:19:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.101.205 with SMTP id u71ls2702462qge.52.gmail; Wed, 09 Jul 2014 14:19:26 -0700 (PDT) X-Received: by 10.58.234.199 with SMTP id ug7mr2417576vec.40.1404940766336; Wed, 09 Jul 2014 14:19:26 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id i1si22129675vee.36.2014.07.09.14.19.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Jul 2014 14:19:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id hy10so8604756vcb.29 for ; Wed, 09 Jul 2014 14:19:26 -0700 (PDT) X-Received: by 10.52.37.81 with SMTP id w17mr115430vdj.95.1404940766206; Wed, 09 Jul 2014 14:19:26 -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.221.37.5 with SMTP id tc5csp78799vcb; Wed, 9 Jul 2014 14:19:25 -0700 (PDT) X-Received: by 10.140.46.70 with SMTP id j64mr71397465qga.27.1404940765795; Wed, 09 Jul 2014 14:19:25 -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 b7si61469234qai.88.2014.07.09.14.19.15 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 09 Jul 2014 14:19:25 -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 ) id 1X4zEY-0003JO-Us; Wed, 09 Jul 2014 21:16:58 +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 ) id 1X4zET-0003JH-5Q for lng-odp@lists.linaro.org; Wed, 09 Jul 2014 21:16:53 +0000 Received: by mail-lb0-f169.google.com with SMTP id l4so5455193lbv.14 for ; Wed, 09 Jul 2014 14:19:03 -0700 (PDT) X-Received: by 10.152.115.173 with SMTP id jp13mr16241407lab.6.1404940743367; Wed, 09 Jul 2014 14:19:03 -0700 (PDT) Received: from localhost (c-4f662d5a-74736162.cust.telenor.se. [79.102.45.90]) by mx.google.com with ESMTPSA id s15sm62064169lbp.42.2014.07.09.14.19.01 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 09 Jul 2014 14:19:02 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Wed, 9 Jul 2014 23:18:53 +0200 Message-Id: <1404940733-32404-1-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] test/Makefile.inc: add required srcdir X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) 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 Fixes builds when the builddir != srcdir Reported-by: Mike Holmes Signed-off-by: Anders Roxell Tested-by: Mike Holmes --- test/Makefile.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/Makefile.inc b/test/Makefile.inc index 6747b53..b549001 100644 --- a/test/Makefile.inc +++ b/test/Makefile.inc @@ -1,6 +1,10 @@ include $(top_srcdir)/Makefile.inc LIB = $(top_builddir)/lib LDADD = $(LIB)/libodp.la -AM_CFLAGS += -I$(top_srcdir)/platform/@with_platform@/include/api -I$(top_srcdir)/platform/linux-generic/include/api -I$(top_srcdir)/include +AM_CFLAGS += \ + -I$(srcdir) \ + -I$(top_srcdir)/platform/@with_platform@/include/api \ + -I$(top_srcdir)/platform/linux-generic/include/api \ + -I$(top_srcdir)/include AM_LDFLAGS += -L$(LIB)