3 # Copyright (C) 2006 by Felix Fietkau <openwrt@nbd.name>
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #VERSION:=2.0 # uncomment for final release
23 #--------------------------------------------------------------
24 # Just run 'make menuconfig', configure stuff, then run 'make'.
25 # You shouldn't need to mess with anything beyond this point...
26 #--------------------------------------------------------------
36 export IS_TTY
=$(shell tty
-s
&& echo
1 || echo
0)
37 include $(TOPDIR
)/include/verbose.mk
42 tmp
/info/.stamp-
$(1)-$(shell ls
$(2)/*/Makefile
$(5) |
(md5sum || md5
) 2>/dev
/null | cut
-d
' ' -f1
)
45 STAMP
=$(call stamp
,packageinfo
,package
)
49 @
rm -f tmp
/info/.stamp-packageinfo
*
53 $(foreach FILE
,$(shell ls package
/*/Makefile
),
54 tmp
/.packageinfo
: $(FILE
)
62 tmp
/.packageinfo
: $(STAMP
)
63 @echo
-n Collecting package
info...
64 @
$(NO_TRACE_MAKE
) -s
-f
include/scan.mk SCAN_TARGET
="packageinfo" SCAN_DIR
="package" SCAN_NAME
="package" SCAN_DEPS
=""
67 @
$(NO_TRACE_MAKE
) -s tmp
/.packageinfo
68 $(MAKE
) -C package
$(patsubst package
/%,%,$@
) SDK
=1
71 $(MAKE
) package
/download
74 $(MAKE
) package
/compile
77 find .
-maxdepth
2 -name Config.in | \
78 sed
-e
's,/Config.in,,g' | \
79 xargs
-n1
$(MAKE
) compile
-C
; \
This page took 0.047464 seconds and 5 git commands to generate.