[BACK]Return to Makefile.makedev CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / distrib / common

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/distrib/common/Makefile.makedev between version 1.13 and 1.19

version 1.13, 2007/03/03 06:40:06 version 1.19, 2014/08/10 05:56:36
Line 1 
Line 1 
 #       $NetBSD$  #       $NetBSD$
 #  #
 # Makefile snippet to add ${MAKEDEVTARGETS} devices to the mtree list  # Makefile snippet to add ${MAKEDEVTARGETS} devices to the mtree list
 # (if set), otherwise copy .OJBDIR-of-etc/MAKEDEV to ./dev  # (if set), otherwise copy .OBJDIR-of-etc/MAKEDEV to ./dev
 #  #
 # If this is to be used with Makefile.image, then this file should be  # If this is to be used with Makefile.image, then this file should be
 # .include-d first.  # .include-d first.
Line 41  CLEANFILES+= ${MAKEDEVSPEC} ${MAKEDEVSPE
Line 41  CLEANFILES+= ${MAKEDEVSPEC} ${MAKEDEVSPE
 #  #
 MTREECONF+=     ${MAKEDEVSPEC}  MTREECONF+=     ${MAKEDEVSPEC}
   
 ${MAKEDEVSPEC}: ${MAKEDEVSCRIPT}  .if exists(${NETBSDSRCDIR}/etc/etc.${MACHINE_CPU}/MAKEDEV.conf)
   MAKEDEV_MACHINE=${MACHINE_CPU}
   .else
   MAKEDEV_MACHINE=${MACHINE}
   .endif
   
   ${MAKEDEVSPEC}: ${MAKEDEVSCRIPT} Makefile \
                   ${NETBSDSRCDIR}/etc/etc.${MAKEDEV_MACHINE}/MAKEDEV.conf
   
         ${_MKTARGET_CREATE}          ${_MKTARGET_CREATE}
         -rm -f ${.TARGET} ${.TARGET}.tmp          rm -f ${.TARGET} ${.TARGET}.tmp
         MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \          MACHINE=${MAKEDEV_MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \
             ${HOST_SH} ${MAKEDEVSCRIPT} -s ${MAKEDEVTARGETS} \              ${HOST_SH} ${MAKEDEVSCRIPT} -s ${MAKEDEVTARGETS} \
             | sed -e '/^\. type=dir/d' -e 's,^\.,./dev,' > ${.TARGET}.tmp \              > ${.TARGET}.tmp
         && sort -o ${.TARGET} ${.TARGET}.tmp          ${TOOL_SED} -e '/^\. type=dir/d' -e 's,^\.,./dev,' ${.TARGET}.tmp \
               | sort -o ${.TARGET}
   
 .else   # ! MAKEDEVTARGETS  .else   # ! MAKEDEVTARGETS
   

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.19

CVSweb <webmaster@jp.NetBSD.org>