Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jul 2010 17:49:19 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        arch@FreeBSD.org
Subject:   ObsoleteFiles and TARGET_ARCH
Message-ID:  <20100706.174919.29649800801850.imp@bsdimp.com>

next in thread | raw e-mail | index | archive | help
I'm wondering...

Why do we use TARGET_ARCH so much inside of ObsoleteFiles?  It seems
like it should be used only when we obsolete files on some
architectures, but retain them on others.  Instead, it seems to be
used to obsolete files that normally exist on a specific
architecture.  This seems backwards.

Also, we need to change this, but I don't (yet) define a
TARGET_CPUARCH.

Also, why is this TARGET_ARCH and not MACHINE_ARCH?  That suggests
we're invoking it wrong if this is "needed" for the cross build case
to "work".

Comments?

Warner

P.S. I'll be happy to provide a patch here...



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