|
Revision 679, 470 bytes
(checked in by tg, 2 years ago)
|
we use the httpd redirect here, my bad, this is by design
and actually makes sense
|
| Line | |
|---|
| 1 |
# $FreeWRT$ |
|---|
| 2 |
#- |
|---|
| 3 |
# This file is part of the FreeWRT project. FreeWRT is copyrighted |
|---|
| 4 |
# material, please see the LICENCE file in the top-level directory |
|---|
| 5 |
# or at http://www.freewrt.org/licence for details. |
|---|
| 6 |
|
|---|
| 7 |
TOPDIR:= $(shell pwd) |
|---|
| 8 |
PWD:= ${TOPDIR} |
|---|
| 9 |
|
|---|
| 10 |
ifneq (${package},) |
|---|
| 11 |
subdir:= package/${package} |
|---|
| 12 |
endif |
|---|
| 13 |
|
|---|
| 14 |
ifneq (${subdir},) |
|---|
| 15 |
${MAKECMDGOALS}: _subdir |
|---|
| 16 |
|
|---|
| 17 |
_subdir: |
|---|
| 18 |
cd ${subdir} && TOPDIR=${TOPDIR} \ |
|---|
| 19 |
${TOPDIR}/lbin/gmake ${MAKEFLAGS} ${MAKECMDGOALS} |
|---|
| 20 |
else |
|---|
| 21 |
include Makefile |
|---|
| 22 |
endif |
|---|