From owner-freebsd-arch Fri Apr 21 18: 5:14 2000 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 817A937B655 for ; Fri, 21 Apr 2000 18:05:12 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id DAA24180 for ; Sat, 22 Apr 2000 03:05:06 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id DAA03061 for freebsd-arch@freebsd.org; Sat, 22 Apr 2000 03:05:05 +0200 (CEST) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 26B9637BE07 for ; Fri, 21 Apr 2000 18:04:58 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id SAA61542 for ; Fri, 21 Apr 2000 18:04:53 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Fri, 21 Apr 2000 18:04:52 -0700 (PDT) From: Kris Kennaway To: arch@freebsd.org Subject: MACHINE_CPU Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi guys, I want to enable support for CPU-specific assembler code in things like libgmp, openssl, etc, which requires knowledge of the target CPU type (not just the architecture). For example, OpenSSL only includes asm code for pentium and above, so we can't just build it if MACHINE_ARCH == "i386". The obvious way to do this is to add a MACHINE_CPU to sys.mk and add a shadow TARGET_CPU in Makefile.inc1. Any objections to this approach? Kris ---- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message