Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: Problem with building installboot on NetBSD-5.2.
> +.if !empty(ARCH_FILES:C/(evbarm)/fdt/:Mfdt.c)
> +FDTDIR= ${.CURDIR}/../../sys/external/bsd/libfdt/dist
> +.PATH: ${FDTDIR}
> +CPPFLAGS+= -DSUPPORT_FDT -I${FDTDIR}
> +SRCS+=fdt.c fdt_ro.c fdt_strerror.c
> +# XXX libfdt has some sign-comparison issues
> +COPTS.fdt.c+= -Wno-error=sign-compare
> +COPTS.fdt_ro.c+= -Wno-error=sign-compare
> +COPTS.fdt_strerror.c+= -Wno-error=sign-compare
> +.endif
> +
> +
> +.if !defined(HOSTPROGNAME)
> +.if !empty(ARCH_FILES:C/(evbarm)/ofw/:Mofw.c)
> +CPPFLAGS+= -DSUPPORT_OPENFIRMWARE
> +.endif
> +.endif
> +
at least, the -Wno-* parts should also live under the same
conditional as SUPPORT_OPENFIRMWARE, as that part is specific
to in-tree compiler, but not the external one.
.mrg.
Home |
Main Index |
Thread Index |
Old Index