diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-09-27 13:39:12 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-09-27 13:45:03 +0200 |
commit | 25d8b9cad6f141104a1065880efe21b8c292d8c6 (patch) | |
tree | 5946d0f8fec279f03e5113d2e9ff1108c46a9c07 /target | |
parent | 74eeee1698e8ee2031ab882174b1a07d2c553409 (diff) | |
download | upstream-25d8b9cad6f141104a1065880efe21b8c292d8c6.tar.gz upstream-25d8b9cad6f141104a1065880efe21b8c292d8c6.tar.bz2 upstream-25d8b9cad6f141104a1065880efe21b8c292d8c6.zip |
build: fix issues with targets installed via feeds
- fix including modules.mk when a target is being replaced
- fix calling make targets from target/linux
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit 3a8825ad6acbf18b2b472ace56be58868af78be7)
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/Makefile b/target/linux/Makefile index a939d42bc0..8eea40ee18 100644 --- a/target/linux/Makefile +++ b/target/linux/Makefile @@ -8,4 +8,4 @@ include $(INCLUDE_DIR)/target.mk export TARGET_BUILD=1 prereq clean download prepare compile install oldconfig menuconfig nconfig xconfig update refresh: FORCE - @+$(NO_TRACE_MAKE) -C $(BOARD) $@ + @+$(NO_TRACE_MAKE) -C $(firstword $(wildcard feeds/$(BOARD) $(BOARD))) $@ |