From 14574161a670d0cc2f1eff0aa337106a1b7391af Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 19 Aug 2013 22:10:20 +0200 Subject: Add automake option subdir-objects to prevent warnings 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 Signed-off-by: Stephen Warren --- 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 -- cgit v1.2.1