enable fatal warnings

. kernel: fix some arm warnings
	. turn of fatal warnings for texinfo

Change-Id: I71e228c87a7226adbbd940ccb1439e042d7b6e9a
This commit is contained in:
Ben Gras 2013-08-26 16:43:16 +00:00
parent dbafdf6692
commit 74bc88581c
5 changed files with 12 additions and 8 deletions

View file

@ -1,5 +1,10 @@
# $NetBSD: Makefile,v 1.10 2004/02/09 06:52:34 lukem Exp $ # $NetBSD: Makefile,v 1.10 2004/02/09 06:52:34 lukem Exp $
.if defined(__MINIX)
NOCLANGERROR=yes
NOGCCERROR=yes
.endif
PROG= install-info PROG= install-info
SRCS= install-info.c SRCS= install-info.c

View file

@ -1,5 +1,10 @@
# $NetBSD: Makefile,v 1.4 2003/01/17 15:32:25 wiz Exp $ # $NetBSD: Makefile,v 1.4 2003/01/17 15:32:25 wiz Exp $
.if defined(__MINIX)
NOGCCERROR=yes
NOCLANGERROR=yes
.endif
PROG= texindex PROG= texindex
SRCS= texindex.c SRCS= texindex.c

View file

@ -45,7 +45,7 @@ void
arch_padconf_init(void) arch_padconf_init(void)
{ {
kern_phys_map_ptr(omap_padconf.base, omap_padconf.size, kern_phys_map_ptr(omap_padconf.base, omap_padconf.size,
&padconf_phys_map, &omap_padconf.base); &padconf_phys_map, (vir_bytes) &omap_padconf.base);
return; return;
} }

View file

@ -41,7 +41,7 @@ omap3_rtc_init(void)
{ {
#ifdef AM335X #ifdef AM335X
kern_phys_map_ptr(omap_rtc.base, omap_rtc.size, &rtc_phys_map, kern_phys_map_ptr(omap_rtc.base, omap_rtc.size, &rtc_phys_map,
&omap_rtc.base); (vir_bytes) &omap_rtc.base);
#endif /* AM335X */ #endif /* AM335X */
} }

View file

@ -85,12 +85,6 @@ LDS_RELOC= ${LDS_PATH}/elf_${MACHINE_ARCH}_minix.xr
LDS_SHARED_LIB= ${LDS_PATH}/elf_${MACHINE_ARCH}_minix.xsc LDS_SHARED_LIB= ${LDS_PATH}/elf_${MACHINE_ARCH}_minix.xsc
LDS_N= ${LDS_PATH}/elf_${MACHINE_ARCH}_minix.xbn LDS_N= ${LDS_PATH}/elf_${MACHINE_ARCH}_minix.xbn
# LSC In the current state there is too much to be done
# Some package have been identified by directly adding NOGCCERROR
# To their Makefiles
NOGCCERROR?= yes
NOCLANGERROR?= yes
AFLAGS+= -D__ASSEMBLY__ AFLAGS+= -D__ASSEMBLY__
CFLAGS+= -fno-builtin CFLAGS+= -fno-builtin