Changeset f42d0bc in freewrt


Ignore:
Timestamp:
Dec 18, 2006, 8:42:46 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
c309ef6
Parents:
318a9bc
Message:

sync BSDmakefile w/ GNUmakefile changes
add some requirement comments

git-svn-id: svn://www.freewrt.org/branches/common-adk@1321 afb5a338-a214-0410-bd46-81f09a774fd1

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BSDmakefile

    r318a9bc rf42d0bc  
    1010.if defined(package) && !empty(package)
    1111subdir:=        package/${package}
     12_subdir_dep:=   ${TOPDIR}/.cfg/FWRT_HAVE_DOT_CONFIG
    1213.endif
    1314
     
    1617${.TARGETS}: _subdir
    1718
    18 _subdir:
    19         cd ${.CURDIR}/${subdir} && TOPDIR=${.CURDIR} \
     19_subdir: ${_subdir_dep}
     20        cd ${.CURDIR}/${subdir} && TOPDIR=${.CURDIR} DEVELOPER=1 \
    2021            ${.CURDIR}/lbin/gmake ${.MFLAGS} ${_subdir}
     22
     23.  include "${.CURDIR}/lbin/prereq.mk"
     24.  include "${.CURDIR}/mk/split-cfg.mk"
    2125.else
    2226.  include "${.CURDIR}/Makefile"
  • Makefile

    r318a9bc rf42d0bc  
    9696                chmod 555 lbin/uname; \
    9797        fi
    98         @echo "TOPDIR:=$$(readlink -nf .)" >lbin/prereq.mk
     98        @echo "# must work with BSD and GNU make" >lbin/prereq.mk
     99        @echo "TOPDIR:=$$(readlink -nf .)" >>lbin/prereq.mk
    99100        @echo "BASH:=$$(lbin/which bash)" >>lbin/prereq.mk
    100101        @echo 'GMAKE:=$${TOPDIR}/lbin/gmake' >>lbin/prereq.mk
  • mk/split-cfg.mk

    r318a9bc rf42d0bc  
    44# material, please see the LICENCE file in the top-level directory
    55# or at http://www.freewrt.org/licence for details.
     6#-
     7# must work with both BSD and GNU make
    68
    79${TOPDIR}/.cfg/FWRT_HAVE_DOT_CONFIG: ${TOPDIR}/.config \
Note: See TracChangeset for help on using the changeset viewer.