From patchwork Wed Feb 19 13:36:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 24956 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f70.google.com (mail-ee0-f70.google.com [74.125.83.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 499002054E for ; Wed, 19 Feb 2014 13:36:49 +0000 (UTC) Received: by mail-ee0-f70.google.com with SMTP id d17sf580830eek.1 for ; Wed, 19 Feb 2014 05:36:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:to:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe:content-type; bh=0Ape2DxpXiBJnjGyeRpcu5q9KFbKKIhHMA72BViVR9A=; b=GgEmIQLhT8YduGhWUF5vyKyeUOTJb5+d8oVuR5ASqwtUoiaTxOvpTSkyb8krxpYugX Tup6hliBUxsThqMFS8BVR1EiRtPPw93OJkDj3Fx1QmFD+0rgbqgAcR1ikYmSUSivW/eL qbuKTp/v8Y094Q000NS0g1c7X9wEk0vdoJY+jXwNdT/dfcGYge9dOMhc9LC9xxoI+AOo bWuY3O/NZ2DMlV3nsIGVoEAohWzLcyL5NZaGvkiatBYYrZ39QibzwQ9FYnK7OdDDA6oi F6wvFoE+GMvgNHgPc1irUhGqVtf02I7cwHPicO9sjoR2biM430zVZZberlvjE+o5pols KnrA== X-Gm-Message-State: ALoCoQnF90Ts0lCS9I+IE2ZVLc+H83zJ4bC0y+JsXsaZzWjM8SCPBDQcWHDk6bAOhejLI+1HN3qE X-Received: by 10.152.216.35 with SMTP id on3mr19488663lac.6.1392817008170; Wed, 19 Feb 2014 05:36:48 -0800 (PST) MIME-Version: 1.0 X-BeenThere: lng-odp@linaro.org Received: by 10.152.205.9 with SMTP id lc9ls33417lac.40.gmail; Wed, 19 Feb 2014 05:36:47 -0800 (PST) X-Received: by 10.152.43.47 with SMTP id t15mr10393246lal.38.1392817007959; Wed, 19 Feb 2014 05:36:47 -0800 (PST) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by mx.google.com with ESMTPS id m9si470726lae.90.2014.02.19.05.36.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Feb 2014 05:36:47 -0800 (PST) Received-SPF: neutral (google.com: 209.85.217.173 is neither permitted nor denied by best guess record for domain of maxim.uvarov@linaro.org) client-ip=209.85.217.173; Received: by mail-lb0-f173.google.com with SMTP id s7so291164lbd.32 for ; Wed, 19 Feb 2014 05:36:47 -0800 (PST) X-Received: by 10.152.44.167 with SMTP id f7mr498183lam.86.1392817007777; Wed, 19 Feb 2014 05:36:47 -0800 (PST) Received: from maxim-lap.localhost.onion ([92.39.133.154]) by mx.google.com with ESMTPSA id h7sm263536lbj.1.2014.02.19.05.36.45 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Feb 2014 05:36:46 -0800 (PST) From: Maxim Uvarov To: lng-odp@linaro.org Subject: [lng-odp] [ODP/PATCH] makefile fix odp includes Date: Wed, 19 Feb 2014 17:36:39 +0400 Message-Id: <1392816999-9487-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 X-Original-Sender: maxim.uvarov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.217.173 is neither permitted nor denied by best guess record for domain of maxim.uvarov@linaro.org) smtp.mail=maxim.uvarov@linaro.org Precedence: list Mailing-list: list lng-odp@linaro.org; contact lng-odp+owners@linaro.org List-ID: X-Google-Group-Id: 474323889996 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Fix building with additional CFLAGS. Signed-off-by: Maxim Uvarov --- Makefile.inc | 4 ++++ test/api_test/Makefile | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.inc b/Makefile.inc index d9590e9..be79b93 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -11,6 +11,10 @@ EXTRA_CFLAGS += -O3 OBJ_DIR = ./obj DESTDIR ?= $(ODP_ROOT)/build +EXTRA_CFLAGS += -I$(ODP_ROOT)/platform/linux-generic/include +EXTRA_CFLAGS += -I$(ODP_ROOT)/platform/linux-generic/include/api +EXTRA_CFLAGS += -I$(ODP_ROOT)/include + EXTRA_CFLAGS += -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes EXTRA_CFLAGS += -Wmissing-declarations -Wold-style-definition -Wpointer-arith EXTRA_CFLAGS += -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral diff --git a/test/api_test/Makefile b/test/api_test/Makefile index 741fbe4..5f0f07d 100644 --- a/test/api_test/Makefile +++ b/test/api_test/Makefile @@ -12,8 +12,6 @@ ODP_ATOMIC = odp_atomic ODP_SHM = odp_shm ODP_RING = odp_ring -EXTRA_CFLAGS += -I$(ODP_ROOT)/platform/linux-generic/include - include ../Makefile.inc include $(ODP_ROOT)/Makefile.inc