git: i386 removal, part 11/x: Remove wrong machine/ setup in the boot Makefiles.
Sascha Wildner
swildner at crater.dragonflybsd.org
Sat Jul 4 01:24:53 PDT 2015
commit 07065cf7e808516f4dc576fbe0ff31aa3eb1dc09
Author: Sascha Wildner <saw at online.de>
Date: Sat Jul 4 01:13:32 2015 +0200
i386 removal, part 11/x: Remove wrong machine/ setup in the boot Makefiles.
Several of the link targets were pointing to ${.CURDIR}/../../i386/...
which doesn't exist. This is from times when our platform-specific
headers were differently laid out and it was never noticed that after
some point, it was no longer needed.
In fact, sys/boot builds properly without all this, because:
* -m32 ensures that the i386 platform is targeted by the compiler
* Various (needed) __i386__ checks in sys/cpu/x86_64/include ensure that
even on x86_64, the basic types have the right sizes.
Confirmed by binary compare of /boot without and with the patch.
Summary of changes:
sys/boot/dloader/Makefile | 15 ---------------
sys/boot/pc32/boot2/Makefile | 23 +----------------------
sys/boot/pc32/libi386/Makefile | 15 ---------------
sys/boot/pc32/loader/Makefile | 11 -----------
sys/boot/pc32/loader_tftp/Makefile | 11 -----------
5 files changed, 1 insertion(+), 74 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/07065cf7e808516f4dc576fbe0ff31aa3eb1dc09
--
DragonFly BSD source repository
More information about the Commits
mailing list