source: branches/contrib/openwrt/patches/all/041-trunk-33632:_save_environment_variables @ 430

Last change on this file since 430 was 430, checked in by ehem, 7 years ago

Switch to using -p1 for applying OpenWRT patches. This matches the way most
things are distributed as patches, even though not needed for DebWRT.

File size: 844 bytes
Line 
1--- openwrt/Makefile.org        2012-10-06 22:19:55.000000000 +0200
2+++ openwrt/Makefile    2012-10-06 22:23:53.000000000 +0200
3@@ -83,8 +83,16 @@
4                exit 1; \
5        fi
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-compile) $(package/stamp-install) $(target/stamp-install) FORCE
17+world: con prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp-install) $(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.