In article <[email protected]>
Dag-Erling Smørgrav <[email protected]> writes:

> TAKAHASHI Yoshihiro <[email protected]> writes:
>> This change breaks cross building.
> 
> Damn, you're right.  Will this work?
> 
> Index: usr.bin/kdump/Makefile
> ===================================================================
> --- usr.bin/kdump/Makefile    (revision 226329)
> +++ usr.bin/kdump/Makefile    (working copy)
> @@ -21,7 +21,8 @@
>  CLEANFILES=  ioctl.c kdump_subr.c kdump_subr.h linux_syscalls.c
>  
>  ioctl.c: mkioctls
> -     sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
> +     env MACHINE=${TARGET} \
> +         sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
>  
>  kdump_subr.h: mksubr
>       sh ${.CURDIR}/mksubr ${DESTDIR}/usr/include | \

The above ${TARGET} should be ${MACHINE}.  The others are fine.

Thanks.

---
TAKAHASHI Yoshihiro <[email protected]>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to