From c43847fe14e6b32cc58b8e8168f78e72ef94316d Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Mon, 28 Jul 2014 16:20:04 +0800 Subject: autotools: Use non-recursive make With the current testing infrastructure, we don't have a strictly hierarchical set of dependencies. This causes problems with a recursive make, and means we have to hack around some of the dependencies. This change generates a single, top-level makefile from all of the Makefile.am fragments. We still need the po/ directory as a separate SUBDIR, but all others can be converted to non-recursive. Signed-off-by: Jeremy Kerr --- utils/Makefile.am | 33 +++++++++++---------------------- 1 file changed, 11 insertions(+), 22 deletions(-) (limited to 'utils') diff --git a/utils/Makefile.am b/utils/Makefile.am index f0a6fc5..7c92f20 100644 --- a/utils/Makefile.am +++ b/utils/Makefile.am @@ -12,28 +12,17 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(top_srcdir)/lib \ - $(DEFAULT_CPPFLAGS) +dist_sbin_SCRIPTS += utils/pb-udhcpc +dist_pkglibexec_SCRIPTS = utils/pb-console utils/pb-sysinfo +sbin_PROGRAMS += utils/pb-event -AM_CFLAGS = \ - $(DEFAULT_CFLAGS) - -dist_sbin_SCRIPTS = pb-udhcpc -dist_pkglibexec_SCRIPTS = pb-console pb-sysinfo - -sbin_PROGRAMS = pb-event - -pb_event_SOURCES = pb-event.c +utils_pb_event_SOURCES = utils/pb-event.c dist_pkgdata_DATA = \ - kboot.conf.sample \ - bb-kexec-reboot \ - logrotate.conf \ - hooks/01-create-default-dtb \ - hooks/20-update-dtb-sample \ - hooks/20-set-stdout \ - hooks/90-sort-dtb - -MAINTAINERCLEANFILES = Makefile.in + utils/kboot.conf.sample \ + utils/bb-kexec-reboot \ + utils/logrotate.conf \ + utils/hooks/01-create-default-dtb \ + utils/hooks/20-update-dtb-sample \ + utils/hooks/20-set-stdout \ + utils/hooks/90-sort-dtb -- cgit v1.2.1