From 4291beb51bd5d8e62133aba10e4ab944adda4b32 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 2 Dec 2017 00:06:52 +0000 Subject: [PATCH] Remove stale dependency on ufsread.c Remove the now-useless dependency on ufsread.c. In some cases, it was on the wrong file. But in all cases, we now automatically generate .depend files, so we don't need it explicitly. Sponsored by: Netflix --- stand/efi/boot1/Makefile | 2 -- stand/i386/gptboot/Makefile | 2 -- stand/powerpc/boot1.chrp/Makefile | 2 -- stand/sparc64/boot1/Makefile | 2 -- 4 files changed, 8 deletions(-) diff --git a/stand/efi/boot1/Makefile b/stand/efi/boot1/Makefile index f2e69460593d..731599e9863b 100644 --- a/stand/efi/boot1/Makefile +++ b/stand/efi/boot1/Makefile @@ -106,8 +106,6 @@ boot1.efi: ${PROG} -j .rela.dyn -j .reloc -j .eh_frame \ --output-target=${EFI_TARGET} ${.ALLSRC} ${.TARGET} -boot1.o: ${SASRC}/ufsread.c - # The following inserts our objects into a template FAT file system # created by generate-fat.sh diff --git a/stand/i386/gptboot/Makefile b/stand/i386/gptboot/Makefile index 9e62007c55ae..49643e7bbec2 100644 --- a/stand/i386/gptboot/Makefile +++ b/stand/i386/gptboot/Makefile @@ -67,8 +67,6 @@ gptboot.bin: gptboot.out gptboot.out: ${BTXCRT} gptboot.o sio.o crc32.o drv.o cons.o ${OPENCRYPTO_XTS} ${LD} ${LD_FLAGS} -Ttext ${ORG2} -o ${.TARGET} ${.ALLSRC} ${LIBGELIBOOT} ${LIBSA32} -gptboot.o: ${SASRC}/ufsread.c - .include # XXX: clang integrated-as doesn't grok .codeNN directives yet diff --git a/stand/powerpc/boot1.chrp/Makefile b/stand/powerpc/boot1.chrp/Makefile index ee32ff527d0b..e3218613b229 100644 --- a/stand/powerpc/boot1.chrp/Makefile +++ b/stand/powerpc/boot1.chrp/Makefile @@ -34,7 +34,5 @@ boot1.hfs: boot1.elf bootinfo.txt CLEANFILES+= boot1.hfs -boot1.o: ${SASRC}/ufsread.c - .include diff --git a/stand/sparc64/boot1/Makefile b/stand/sparc64/boot1/Makefile index 36e396896102..97bfa6735c6f 100644 --- a/stand/sparc64/boot1/Makefile +++ b/stand/sparc64/boot1/Makefile @@ -27,6 +27,4 @@ ${FILES}: boot1.aout boot1.aout: boot1.elf elf2aout -o ${.TARGET} ${.ALLSRC} -boot1.o: ${SASRC}/ufsread.c - .include