From patchwork Wed Sep 7 14:28:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jorge Ramirez-Ortiz X-Patchwork-Id: 75667 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp354477qgf; Wed, 7 Sep 2016 07:28:25 -0700 (PDT) X-Received: by 10.66.249.134 with SMTP id yu6mr20713958pac.44.1473258505709; Wed, 07 Sep 2016 07:28:25 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r74si34515891pfj.230.2016.09.07.07.28.25 for ; Wed, 07 Sep 2016 07:28:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-spi-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756971AbcIGO2Y (ORCPT ); Wed, 7 Sep 2016 10:28:24 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:36872 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756955AbcIGO2Y (ORCPT ); Wed, 7 Sep 2016 10:28:24 -0400 Received: by mail-wm0-f41.google.com with SMTP id w12so36045713wmf.0 for ; Wed, 07 Sep 2016 07:28:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id; bh=xjCi1gKV1yUrtg7IWfu8J8EKLHl56eRkoRia330t6o8=; b=g84DQIaVTbV9mIOyxqlYTg+0254gRl5U5JjJhoCPx1mvFjYdHOWaPbdFlgZi3Fygx8 2LUgCzAYaYxiWZjlXRvLowL8OgGsjHnTDMI0b1obAESyAJYwWn1xN1ktuHcd7GQT/jjF l5Qj8xDQdeuhYS93SeJHwF7tBwwjzYBn9T4Og= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=xjCi1gKV1yUrtg7IWfu8J8EKLHl56eRkoRia330t6o8=; b=CKLVdNYCUW8KiC8nZ4QanHhobz2bizvGzQMDjRhYnLjIug7jEjmvjpe2C/qWI3eWOp aear2tBgCCm1TVaiaCvZV5gCd6+2+tStqs1mjs1dYfTIhZmJ06/cb7pI5LQP5A+omifg xjGkafJe3npNVfLgdXH6f7utEDCjg28Lm6HMnfY6d23TwOi5S+OddRRXbtths8k+zH3t ZeXvSnUQEeKDrqvlVwv8FqTpxltsxhRJDbWhvBxrVS/Q7ZhzMyQZZqKMc4kiPx/qCI3E I/x6zT8TC2n42gVWTBB7p112yfS9dmQFaQc1ORw3QMb7YMpdaOa0R85Z51aGM/NXOCmK hPXg== X-Gm-Message-State: AE9vXwOJlUyYIMvrxeoFPyTOh+YfxUMhD/96EudcXkwj3xujBOCuaf53EOMzUYV7I19oZTbS X-Received: by 10.194.133.104 with SMTP id pb8mr41561405wjb.139.1473258502787; Wed, 07 Sep 2016 07:28:22 -0700 (PDT) Received: from igloo.telefonica.net (154.red-83-60-52.dynamicip.rima-tde.net. [83.60.52.154]) by smtp.gmail.com with ESMTPSA id ya1sm39279543wjb.23.2016.09.07.07.28.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Sep 2016 07:28:21 -0700 (PDT) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, broonie@kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] tools: spi: enable CROSS_COMPILE in Makefile Date: Wed, 7 Sep 2016 16:28:16 +0200 Message-Id: <1473258496-14565-1-git-send-email-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Signed-off-by: Jorge Ramirez-Ortiz --- tools/spi/Makefile | 4 ++++ 1 file changed, 4 insertions(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/tools/spi/Makefile b/tools/spi/Makefile index cd0db62..d1845b0 100644 --- a/tools/spi/Makefile +++ b/tools/spi/Makefile @@ -1,4 +1,8 @@ +CC = $(CROSS_COMPILE)gcc + all: spidev_test spidev_fdx +%: %.c + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< clean: $(RM) spidev_test spidev_fdx