From patchwork Thu Mar 8 14:37:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 131022 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp6553577lja; Thu, 8 Mar 2018 06:38:02 -0800 (PST) X-Google-Smtp-Source: AG47ELu3B2NCN/UGJOHlOXFnGAWts+d6oBpHZkKfjd5qWPj/fk1gqZCaPrxXifAX462W+dJjBDoK X-Received: by 2002:a17:902:64d7:: with SMTP id y23-v6mr24014043pli.258.1520519882412; Thu, 08 Mar 2018 06:38:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520519882; cv=none; d=google.com; s=arc-20160816; b=FbjwXf3XY3NCybyvcZdRza06iImTFoM5+laLk0RclkbaFz0NvSP6YPtPzHSUYIERQ2 CyAomzfm4Izv16YQ5Py/YyHqLmCtm34OL/gz5oV4zEz++qQWQo6fr/ZiQllQkFu/QepD fHuFC326ECyJ+zPGCZh4j+o/ORmTrPZA9ovtdYXVLKSo+aYawEly8awKBZ3ZLSM9m9zl +748YYqGfIaJtDm9DYRyMQtWkEyJ99s18pqBVNtcL9wPks90A85UphXmyAykvml6VseF d0+K3nRSlyc0Hs/5bUPFg6gKdByFKHAog3pAENNC33m/iYsQMEX/Z8qhQvIqpZtLtbRb T4Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=8gheAqEO3HUyqPZ5p0rL/fPiGZQjOGjYvmh52bkUc5U=; b=kHP0R082IVEWFEF+8Os62qNl7NjKzb6v/AJ1IO5qBYbEyq2Tx1WIyhOTwejkXDi/mV RpMuTj5RLzi8VRl5SKAs0em8djc2GCRDpSKHV+71P5VTrqRn5UJJI/5UidWZv3+rru+3 Npznv2VIF2XdbMIJFRMM/t3v+gtFxuJ5UQfSooYcb8rqFY6AezU3d94mC9UuZ4UOWKZH lqyp1IzFFHqXxB+JqbLVuc/6PGFbUGM1kqM3Hz/rchexrZHpBD5iiU9rFLvjW9eBJG+4 4i2YNgC8DBn7ACbkq601XXWNOZIEw6KaUkP1SZpxC2jgv4wXr5MU3skOyirNb45gM+m3 DCug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MDs43uLj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r39-v6si14700502pld.53.2018.03.08.06.38.02; Thu, 08 Mar 2018 06:38:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MDs43uLj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754706AbeCHOh6 (ORCPT + 28 others); Thu, 8 Mar 2018 09:37:58 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:37469 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751994AbeCHOh5 (ORCPT ); Thu, 8 Mar 2018 09:37:57 -0500 Received: by mail-lf0-f65.google.com with SMTP id y19-v6so8614307lfd.4 for ; Thu, 08 Mar 2018 06:37:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=8gheAqEO3HUyqPZ5p0rL/fPiGZQjOGjYvmh52bkUc5U=; b=MDs43uLjEL0RHPEdInljoQwLXJ4NJ2n1yvIaipFxaaf+juQD+Lfz8sO0FmAr/ZPIA0 rLwqTIAgtb4jGdyC3+jEaPcY09Pv6kBedrda6sTkEda6+BvsTcZ1qJB3tHAHSrn8Lzys vpky9XHSLZXlaPBZs/RKOK/bCEzODCd6//LOU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=8gheAqEO3HUyqPZ5p0rL/fPiGZQjOGjYvmh52bkUc5U=; b=XgK3wKJykJ5cTtZegmg6xS9cYcOMfWp+YbJuPtQ5nr+0hHoBDilCUaoGbPQjQVYLxM WhghaOsBSxXSDaY6XkWu/PM7+JztOSoZhf0P5sfZvHKkZ6+xlyEVlL4u9EJ2rUvYj6SF 9m3Ba9qfjyuEr5r9fQBAakF0QEx3U3URs4maMfpbh5dVd/SKvXhIx8ypXy2fQPBdukQr 1u2L21b7sF4hbMYxY+xtCVRdyw4nh8OGVnOtaLO89QX8TGb9ISPw8CrOHCSXzNOQM6In 6JmqUfDei+vlVqoW6Qatbcxm5gsS+XfVSSVGHWSplcmu3IAmvXx06tR3+6zyzguj9NiU yFHg== X-Gm-Message-State: AElRT7HTl1o/F8n943eVOqgqoGTMQNRacfZA8Tl9VVtUaoH6CTdf7eaf Q8C2l9PIDGNEBoMrS9v/t7RzLQ== X-Received: by 10.46.146.25 with SMTP id k25mr5068826ljg.100.1520519875797; Thu, 08 Mar 2018 06:37:55 -0800 (PST) Received: from localhost (c-2c3d70d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.61.44]) by smtp.gmail.com with ESMTPSA id c72sm4279115lfh.33.2018.03.08.06.37.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Mar 2018 06:37:55 -0800 (PST) From: Anders Roxell To: shuah@kernel.org Cc: pintu.ping@gmail.com, labbott@redhat.com, daniel.vetter@ffwll.ch, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH] selftests/android/ion: Makefile: fix build error Date: Thu, 8 Mar 2018 15:37:41 +0100 Message-Id: <20180308143741.4415-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fails to build iomap_test.c due to missing include gcc -I. -I../../../../../drivers/staging/android/uapi/ -Wall -O2 -g ionmap_test.c ipcsocket.c ionutils.c -o ionmap_test ionmap_test.c:12:27: fatal error: linux/dma-buf.h: No such file or directory #include ^ compilation terminated. : recipe for target 'ionmap_test' failed make[2]: *** [ionmap_test] Error 1 In the current code, we add a new -I ../../../../../usr/include/ to the INCLUDEDIR variable. Also add ionmap_test to the .gitignore file. Fixes: ac93f7046a53 ("selftests: ion: Add simple test with the vgem driver") Signed-off-by: Anders Roxell --- tools/testing/selftests/android/ion/.gitignore | 1 + tools/testing/selftests/android/ion/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) -- 2.11.0 Acked-by: Laura Abbott diff --git a/tools/testing/selftests/android/ion/.gitignore b/tools/testing/selftests/android/ion/.gitignore index 67e6f391b2a9..95e8f4561474 100644 --- a/tools/testing/selftests/android/ion/.gitignore +++ b/tools/testing/selftests/android/ion/.gitignore @@ -1,2 +1,3 @@ ionapp_export ionapp_import +ionmap_test diff --git a/tools/testing/selftests/android/ion/Makefile b/tools/testing/selftests/android/ion/Makefile index d23b6d537d8b..e03695287f76 100644 --- a/tools/testing/selftests/android/ion/Makefile +++ b/tools/testing/selftests/android/ion/Makefile @@ -1,5 +1,5 @@ -INCLUDEDIR := -I. -I../../../../../drivers/staging/android/uapi/ +INCLUDEDIR := -I. -I../../../../../drivers/staging/android/uapi/ -I../../../../../usr/include/ CFLAGS := $(CFLAGS) $(INCLUDEDIR) -Wall -O2 -g TEST_GEN_FILES := ionapp_export ionapp_import ionmap_test