# $FreeWRT$ #- # This file is part of the FreeWRT project. FreeWRT is copyrighted # material, please see the LICENCE file in the top-level directory # or at http://www.freewrt.org/licence for details. TOPDIR:= $(shell pwd) PWD:= ${TOPDIR} ifneq (${package},) subdir:= package/${package} _subdir_dep:= ${TOPDIR}/.cfg/FWRT_HAVE_DOT_CONFIG endif ifneq (${subdir},) ${MAKECMDGOALS}: _subdir _subdir: ${_subdir_dep} cd ${subdir} && TOPDIR=${TOPDIR} DEVELOPER=1 \ ${TOPDIR}/lbin/gmake V=99 ${MAKEFLAGS} ${MAKECMDGOALS} include lbin/prereq.mk include mk/split-cfg.mk else include Makefile endif