From owner-freebsd-arm@freebsd.org Thu Oct 20 20:26:17 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81C70C1B32B for ; Thu, 20 Oct 2016 20:26:17 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6CB99140 for ; Thu, 20 Oct 2016 20:26:17 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6C0D1C1B32A; Thu, 20 Oct 2016 20:26:17 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6BB03C1B329 for ; Thu, 20 Oct 2016 20:26:17 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3671B13F for ; Thu, 20 Oct 2016 20:26:16 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [192.168.1.101] (p508F0219.dip0.t-ipconnect.de [80.143.2.25]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 2060471EC2000; Thu, 20 Oct 2016 22:26:12 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3226\)) Subject: Re: Building the kernel the old way fails From: Michael Tuexen In-Reply-To: Date: Thu, 20 Oct 2016 22:26:10 +0200 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <1AAEF01D-2542-4E81-A956-7C7184382E44@freebsd.org> References: <41AB8519-CF94-4C3A-9EA3-C1600BF8B396@freebsd.org> To: Warner Losh X-Mailer: Apple Mail (2.3226) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2016 20:26:17 -0000 > On 20 Oct 2016, at 22:08, Warner Losh wrote: >=20 > On Thu, Oct 20, 2016 at 2:06 PM, Michael Tuexen = wrote: >> Dear all, >>=20 >> when trying to build a head kernel on a RPI2 the old way fails: >>> pwd >> /usr/home/tuexen/head/sys/arm/compile/GENERIC >>> make >> make: "/usr/home/tuexen/head/sys/arm/compile/GENERIC/Makefile" line = 84: Malformed conditional (${TARGET_ARCH} !=3D "armv6" && = defined(KERNPHYSADDR)) >> make: Fatal errors encountered -- cannot continue >> make: stopped in /usr/home/tuexen/head/sys/arm/compile/GENERIC >>=20 >> I guess TARGET_ARCH is not set... >=20 > You can set it to armv6 to work around it. I did, but >=20 > This test should be MACHINE_ARCH. LEmme fix that. prefer a fix... Thanks a lot! Best regards Michael >=20 > Warner