Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Sep 2006 07:37:16 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src Makefile.inc1
Message-ID:  <200609070737.k877bHHo062768@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2006-09-07 07:37:16 UTC

  FreeBSD src repository

  Modified files:
    .                    Makefile.inc1 
  Log:
  make "make TARGET=foo" work correctly.  Before, it would fail to set
  TARGET_ARCH correctly.  Now it does, even for pc98.  We should suggest
  TARGET=foo in preference to TARGET_ARCH because the former is
  unambiguous and the latter isn't, so update the docs.
  
  This means that a long standing gripe I've had with this comes to a
  close.  I can build pc98 w/o specify both things.  make TARGET=arm
  works (rather than trying to build a arm:amd64 image and dying badly
  in the attempt).
  
  If you specify only TARGET_ARCH, then you get the old behavior.
  
  # we can likely simplify the UNIVERSE target now to use this, but I'm not
  # up for breaking that tonight :-).
  
  # We should consider adding some kind of sanity check for TARGET_ARCH
  # and TARGET.
  
  Revision  Changes    Path
  1.555     +4 -1      src/Makefile.inc1



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