source: trunk/openwrt/patches/lede/all/041_save_environment_variables @ 924

Last change on this file since 924 was 924, checked in by amain, 2 years ago

lede: update patches, split patch 021_install_kernel_modules_and_merge_debwrt_config

File size: 905 bytes
Line 
1diff --git a/Makefile b/Makefile
2index a26eeee..aca3ad8 100644
3--- a/Makefile
4+++ b/Makefile
5@@ -91,8 +91,16 @@ diffconfig: FORCE
6        mkdir -p $(BIN_DIR)
7        $(SCRIPT_DIR)/diffconfig.sh > $(BIN_DIR)/config.seed
8 
9+con:
10+       echo "OPENWRT_BIN_DIR=$(BIN_DIR)" > $(TOPDIR)/.openwrt_env
11+       echo "OPENWRT_PACKAGE_DIR=$(PACKAGE_DIR)" >> $(TOPDIR)/.openwrt_env
12+       echo "OPENWRT_TMP_DIR=$(TMP_DIR)" >> $(TOPDIR)/.openwrt_env
13+       #
14+       # LINUX_VERSION is saved from include/kernel-defaults.mk
15+       #
16+
17 prepare: .config $(tools/stamp-compile) $(toolchain/stamp-compile)
18-world: prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp-install) $(target/stamp-install) FORCE
19+world: con prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp-install) $(target/stamp-install) FORCE con
20        $(_SINGLE)$(SUBMAKE) -r package/index
21        $(_SINGLE)$(SUBMAKE) -r diffconfig
22        $(_SINGLE)$(SUBMAKE) -r checksum
Note: See TracBrowser for help on using the repository browser.