utils/mdadm: fix build on hosts without /run dir
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>
This commit is contained in:
parent
033b6cef94
commit
04e6434c62
|
@ -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…
Reference in New Issue
Block a user