projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
033b6ce
)
utils/mdadm: fix build on hosts without /run dir
author
Sergey V. Lobanov
<sergey@lobanov.in>
Sun, 2 Jan 2022 19:18:04 +0000
(22:18 +0300)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Fri, 7 Jan 2022 23:49:59 +0000
(
00:49
+0100)
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>
package/utils/mdadm/Makefile
patch
|
blob
|
history
diff --git
a/package/utils/mdadm/Makefile
b/package/utils/mdadm/Makefile
index f20a58b7046c480df4b49c9b6dc246d06928c028..f6696bf21cb38b6b16cf5d1eb404a02c44c3a087 100644
(file)
--- a/
package/utils/mdadm/Makefile
+++ b/
package/utils/mdadm/Makefile
@@
-52,7
+52,7
@@
TARGET_CFLAGS += \
TARGET_LDFLAGS += -Wl,--gc-sections
-MAKE_
VAR
S += CHECK_RUN_DIR=0
+MAKE_
FLAG
S += CHECK_RUN_DIR=0
define Build/Compile
$(call Build/Compile/Default,mdadm)