Last change
on this file since 349 was
349,
checked in by ehem, 10 years ago
|
Rework the openwrt/patch target. Instead of patching with a hand-rolled
list of patches, scan the appropriate directories for patch files. Patch
filenames now MUST match the pattern [0-9]+(-[0-9]*:[0-9]*)_<name>. The
lead digits specify order of application, lower numbers are applied
first. If present, the two subsequent numbers indicate a range of
Subversion revisions that a given patch applies to. If a number is
absent, the range is interpreted to include all older revisions or all
newer revisions as appropriate.
Adjust openwrt/unpatch target to match (patches are now removed in
reverse order). Adjust the generate script to match.
|
File size:
1.0 KB
|
Line | |
---|
1 | --- Makefile.org 2010-01-24 18:57:24.720963292 +0100 |
---|
2 | +++ Makefile 2010-01-24 19:29:28.751015782 +0100 |
---|
3 | @@ -72,8 +72,16 @@ |
---|
4 | # check prerequisites before starting to build |
---|
5 | prereq: $(target/stamp-prereq) tmp/.prereq_packages |
---|
6 | |
---|
7 | +con: |
---|
8 | + echo "OPENWRT_BIN_DIR=$(BIN_DIR)" > $(TOPDIR)/.openwrt_env |
---|
9 | + echo "OPENWRT_PACKAGE_DIR=$(PACKAGE_DIR)" >> $(TOPDIR)/.openwrt_env |
---|
10 | + echo "OPENWRT_TMP_DIR=$(TMP_DIR)" >> $(TOPDIR)/.openwrt_env |
---|
11 | + # |
---|
12 | + # LINUX_VERSION is saved from include/kernel-defaults.mk |
---|
13 | + # |
---|
14 | + |
---|
15 | prepare: .config $(tools/stamp-install) $(toolchain/stamp-install) |
---|
16 | -world: prepare $(target/stamp-compile) $(package/stamp-cleanup) $(package/stamp-compile) $(package/stamp-install) $(package/stamp-rootfs-prepare) $(target/stamp-install) FORCE |
---|
17 | +world: con prepare $(target/stamp-compile) $(package/stamp-cleanup) $(package/stamp-compile) $(package/stamp-install) $(package/stamp-rootfs-prepare) $(target/stamp-install) con FORCE |
---|
18 | $(_SINGLE)$(SUBMAKE) -r package/index |
---|
19 | |
---|
20 | # update all feeds, re-create index files, install symlinks |
---|
Note: See
TracBrowser
for help on using the repository browser.