diff options
author | kevans <kevans@FreeBSD.org> | 2018-02-13 04:28:13 +0000 |
---|---|---|
committer | kevans <kevans@FreeBSD.org> | 2018-02-13 04:28:13 +0000 |
commit | 24a78be18398dd33a58251eb77bf506066f63bb6 (patch) | |
tree | aa5f78e683c9e60d83d9c4a093a3ae31c2efc491 | |
parent | e182a77995ca24489beea0003f8b69dd3a14943a (diff) | |
download | FreeBSD-src-24a78be18398dd33a58251eb77bf506066f63bb6.zip FreeBSD-src-24a78be18398dd33a58251eb77bf506066f63bb6.tar.gz |
stand: Clean up some unintentional inconsistencies
This is a direct commit to stable/11 to address the following final
unintended inconsistencies between stable/11 and head:
- Some unused LIBSTAND= cruft left in efi/loader/Makefie
- A comment that flew in with unrelated changes
- An #include that may go away now that stand is basically self-contained
-rw-r--r-- | stand/efi/loader/Makefile | 6 | ||||
-rw-r--r-- | stand/i386/zfsboot/zfsldr.S | 2 | ||||
-rw-r--r-- | stand/powerpc/ofw/ofwfdt.c | 5 |
3 files changed, 1 insertions, 12 deletions
diff --git a/stand/efi/loader/Makefile b/stand/efi/loader/Makefile index ea920b8..57b5600 100644 --- a/stand/efi/loader/Makefile +++ b/stand/efi/loader/Makefile @@ -54,12 +54,6 @@ CFLAGS+= -I${SYSDIR}/contrib/dev/acpica/include CFLAGS+= -I${BOOTSRC}/i386/libi386 CFLAGS+= -DNO_PCI -DEFI -# make buildenv doesn't set DESTDIR, this means LIBSTAND -# will be wrong when crossbuilding. -.if exists(${.OBJDIR}/../../../../lib/libstand/libstand.a) -LIBSTAND= ${.OBJDIR}/../../../../lib/libstand/libstand.a -.endif - .if !defined(BOOT_HIDE_SERIAL_NUMBERS) # Export serial numbers, UUID, and asset tag from loader. CFLAGS+= -DSMBIOS_SERIAL_NUMBERS diff --git a/stand/i386/zfsboot/zfsldr.S b/stand/i386/zfsboot/zfsldr.S index 3e85e27..bf43a5c 100644 --- a/stand/i386/zfsboot/zfsldr.S +++ b/stand/i386/zfsboot/zfsldr.S @@ -33,7 +33,7 @@ .set SIZ_PAG,0x1000 # Page size .set SIZ_SEC,0x200 # Sector size .set COPY_BLKS,0x8 # Number of blocks - # to copy for boot2 + # to copy for boot2 (<= 15) .set COPY_BLK_SZ,0x8000 # Copy in 32k blocks; must be # a multiple of 16 bytes .set NSECT,(COPY_BLK_SZ / SIZ_SEC * COPY_BLKS) diff --git a/stand/powerpc/ofw/ofwfdt.c b/stand/powerpc/ofw/ofwfdt.c index 02f9939..493bae7 100644 --- a/stand/powerpc/ofw/ofwfdt.c +++ b/stand/powerpc/ofw/ofwfdt.c @@ -26,11 +26,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -/* - * Include stdlib.h because of DEBUG_MALLOC shenanigans in stand.h for now. - * This will be removed in the future, when libsa silently replaces stdlib.h. - */ -#include <stdlib.h> #include <stand.h> #include <sys/param.h> #include <fdt_platform.h> |