diff options
| author | Andrey V. Elsukov <ae@FreeBSD.org> | 2012-09-09 11:34:27 +0000 |
|---|---|---|
| committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2012-09-09 11:34:27 +0000 |
| commit | 9efbc4f52e3929e5755c4ef0a71320d8bcde50cb (patch) | |
| tree | e35004ec40b4b3eeb1a9e8c131dc637da35327b8 | |
| parent | d958ec0ca3fff9efd077555a5608553fa2ca4551 (diff) | |
Notes
| -rw-r--r-- | sys/boot/uboot/lib/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/boot/uboot/lib/Makefile b/sys/boot/uboot/lib/Makefile index 75bc973d1ab9..7908f24bfbd9 100644 --- a/sys/boot/uboot/lib/Makefile +++ b/sys/boot/uboot/lib/Makefile @@ -6,13 +6,18 @@ LIB= uboot INTERNALLIB= WARNS?= 2 -SRCS= crc32.c console.c copy.c devicename.c disk.c elf_freebsd.c glue.c +SRCS= crc32.c console.c copy.c devicename.c elf_freebsd.c glue.c SRCS+= module.c net.c reboot.c time.c CFLAGS+= -ffreestanding -msoft-float CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ +.if !defined(LOADER_NO_DISK_SUPPORT) +SRCS+= disk.c +CFLAGS+= -DLOADER_DISK_SUPPORT +.endif + # Pick up FDT includes CFLAGS+= -I${.CURDIR}/../../../../sys/contrib/libfdt/ |
