svn commit: r204315 - head/sys/boot/powerpc/uboot
Rafal Jaworowski
raj at FreeBSD.org
Thu Feb 25 15:21:38 UTC 2010
Author: raj
Date: Thu Feb 25 15:21:37 2010
New Revision: 204315
URL: http://svn.freebsd.org/changeset/base/204315
Log:
Enable U-Boot storage for PowerPC. While there fix loader(8) help file name.
MFC after: 1 week
Modified:
head/sys/boot/powerpc/uboot/Makefile
head/sys/boot/powerpc/uboot/conf.c
Modified: head/sys/boot/powerpc/uboot/Makefile
==============================================================================
--- head/sys/boot/powerpc/uboot/Makefile Thu Feb 25 15:03:57 2010 (r204314)
+++ head/sys/boot/powerpc/uboot/Makefile Thu Feb 25 15:21:37 2010 (r204315)
@@ -9,8 +9,8 @@ NO_MAN=
# Architecture-specific loader code
SRCS= start.S conf.c vers.c
-LOADER_DISK_SUPPORT?= no
-LOADER_UFS_SUPPORT?= no
+LOADER_DISK_SUPPORT?= yes
+LOADER_UFS_SUPPORT?= yes
LOADER_CD9660_SUPPORT?= no
LOADER_EXT2FS_SUPPORT?= no
LOADER_NET_SUPPORT?= yes
@@ -85,11 +85,11 @@ LDADD= ${LIBFICL} ${LIBUBOOT} -lstand
vers.c: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version
sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
-${PROG}.help: help.common help.uboot
+loader.help: help.common help.uboot
cat ${.ALLSRC} | \
awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
.PATH: ${.CURDIR}/../../forth
-FILES= ${PROG}.help
+FILES= loader.help
.include <bsd.prog.mk>
Modified: head/sys/boot/powerpc/uboot/conf.c
==============================================================================
--- head/sys/boot/powerpc/uboot/conf.c Thu Feb 25 15:03:57 2010 (r204314)
+++ head/sys/boot/powerpc/uboot/conf.c Thu Feb 25 15:21:37 2010 (r204315)
@@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$");
/* Exported for libstand */
struct devsw *devsw[] = {
#if defined(LOADER_DISK_SUPPORT) || defined(LOADER_CD9660_SUPPORT)
- &uboot_disk,
+ &uboot_storage,
#endif
#if defined(LOADER_NET_SUPPORT)
&netdev,
More information about the svn-src-all
mailing list