Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 2015 18:31:13 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        freebsd-arm <freeBSD-arm@freebsd.org>, freebsd-hackers@FreeBSD.org
Subject:   cross compiling
Message-ID:  <4E33BE7E-5443-438A-A45C-04B4B90528F9@cs.huji.ac.il>

next in thread | raw e-mail | index | archive | help
Hi,
I can cross compile for armv6 (raspberry Pi B), and I do get a working =
version, and till about July, I was
able to cross compile a module doing something like this:
$ cd $SRC
$ make kernel-toolchain TARGET_ARCH=3Darmv6
$ make buildenv TARGET_ARCH=3Darmv6 BUILDENV_SHELL=3D/usr/local/bin/shell
$ cd <moduledir>
$ make

but today, after a fresh svn update of current, I get:

Warning: Object directory not changed from original =
/a/fr-05/vol/home/system/danny/src/FreeBSD/ARM/elc/sys/modules/mfrc
cc  -O -pipe -mfloat-abi=3Dsoftfp  -DMFRC_DEBUG=3D8 -Werror -D_KERNEL =
-DKLD_MODULE -nostdinc  =
-I/a/fr-05/vol/home/system/danny/src/FreeBSD/ARM/elc/sys/modules/mfrc/../.=
. -I. -I@ -I@/contrib/altq -fno-common   -ffreestanding -c =
/a/fr-05/vol/home/system/danny/src/FreeBSD/ARM/elc/sys/modules/mfrc/../../=
dev/mfrc/mfrc.c -o mfrc.o
cc: error: argument unused during compilation: '-mfloat-abi=3Dsoftfp'
*** Error code 1

so, what magic am I missing?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E33BE7E-5443-438A-A45C-04B4B90528F9>