Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2011 22:48:01 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src Makefile
Message-ID:  <201101032249.p03Mn31n088836@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2011-01-03 22:48:01 UTC

  FreeBSD src repository

  Modified files:
    .                    Makefile 
  Log:
  SVN rev 216934 on 2011-01-03 22:48:01Z by imp
  
  When TARGET_ARCH_${kernel} gets set, it is using the host's config,
  not the one we build as part of make world.  This means that make
  universe will fail if building on a too-old current or any stable
  system prior to a few days ago in weird ways (parse errors from
  shell).  This copes with these old systems in two ways:
  
  (1) Works around the WARNING: issue by filtering all warnings that
      sneak onto stdout.
  
  (2) if TARGET_ARCH_${kernel} winds up being empty, then we error out
      immediately with a semi-useful error message.  This usually comes from
      config not groking -m.
  
  Ideally, we'd use a buildworld's config here, but that's tricky, so
  I'll leave that detail to others to fix (it has to be done post make
  world for the arch rather than at the top level makefile).  This
  should make 'make universe' usable from recent 8-stable systems
  (recent == last few months or so) for building -current.  They have
  -m, but spewed warnings out stdout.  Older systems will now at least
  get a firm error early rather than a confusing error late.
  
  Revision  Changes    Path
  1.372     +4 -1      src/Makefile



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101032249.p03Mn31n088836>