mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-14 20:06:59 +08:00
utils/mdadm: fix build on hosts without /run dir (#8651)
CHECK_RUN_DIR=0 must be a part of MAKE_FLAGS, not MAKE_VARS, otherwise it is not possible to compile mdadm on host without /run dir. Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in> Co-authored-by: Sergey V. Lobanov <sergey@lobanov.in>
This commit is contained in:
parent
58467b6c6e
commit
c01c9b96b1
@ -52,7 +52,7 @@ TARGET_CFLAGS += \
|
|||||||
|
|
||||||
TARGET_LDFLAGS += -Wl,--gc-sections
|
TARGET_LDFLAGS += -Wl,--gc-sections
|
||||||
|
|
||||||
MAKE_VARS += CHECK_RUN_DIR=0
|
MAKE_FLAGS += CHECK_RUN_DIR=0
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/Default,mdadm)
|
$(call Build/Compile/Default,mdadm)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user