From patchwork Mon Aug 19 20:10:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 268301 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 13B462C00D5 for ; Tue, 20 Aug 2013 06:10:34 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751165Ab3HSUKc (ORCPT ); Mon, 19 Aug 2013 16:10:32 -0400 Received: from mail.kmu-office.ch ([178.209.48.102]:39695 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751024Ab3HSUKc (ORCPT ); Mon, 19 Aug 2013 16:10:32 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.kmu-office.ch (Postfix) with ESMTP id 7814D3C03A2 for ; Mon, 19 Aug 2013 22:08:28 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kmu-office.ch Received: from mail.kmu-office.ch ([127.0.0.1]) by localhost (mail.kmu-office.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QKdowQg29pfJ for ; Mon, 19 Aug 2013 22:08:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.kmu-office.ch (Postfix) with ESMTP id 31C553C03CE for ; Mon, 19 Aug 2013 22:08:28 +0200 (CEST) Received: from webmail.kmu-office.ch (unknown [178.209.48.103]) (Authenticated sender: stefan@agner.ch) by mail.kmu-office.ch (Postfix) with ESMTPSA id 1A2EA3C03A2; Mon, 19 Aug 2013 22:08:27 +0200 (CEST) MIME-Version: 1.0 Date: Mon, 19 Aug 2013 22:10:20 +0200 From: Stefan Agner To: linux-tegra@vger.kernel.org Cc: amartin@nvidia.com, swarren@wwwdotorg.org Subject: [PATCH v2 tegra-cbootimage] Add automake option subdir-objects to prevent warnings Message-ID: X-Sender: stefan@agner.ch User-Agent: Roundcube Webmail/0.9.1 Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org The SoC specific code is in subdirectories which leads to warnings in newer automake versions. The option subdir-objects prevents those warnings. Signed-off-by: Stefan Agner Reviewed-by: Thierry Reding Tested-by: Stephen Warren --- Sorry, was in vacation. I could not reproduce the message Thierry sees on my automake 1.14 installation, however, the option make sense as far as I understand its meaning. configure.ac | 1 + src/Makefile.am | 2 ++ 2 files changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index ccd0a55..9b83a21 100644 --- a/configure.ac +++ b/configure.ac @@ -10,6 +10,7 @@ AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CXX AC_PROG_CC +AM_PROG_CC_C_O PKG_PROG_PKG_CONFIG # Checks for libraries. diff --git a/src/Makefile.am b/src/Makefile.am index 6fcc0d8..6fecfc7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,5 @@ +AUTOMAKE_OPTIONS = subdir-objects + AM_CFLAGS = -Wall -std=c99 bin_PROGRAMS = cbootimage bct_dump