mdadm: Do not check RUN_DIR
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 31 May 2017 21:39:12 +0000 (14:39 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 5 Jun 2017 19:24:01 +0000 (12:24 -0700)
commit5229c453630c0b023c3d65ef6005adbe48062bbb
tree59f6ff26f92c83931edd42e3542657a7f3c14281
parent334f8f4fc33f5fbc52e08477f00971f1e66405ae
mdadm: Do not check RUN_DIR

Fixes build failure on hosts that do not have mdadm
installed/configured:

make[3]: Entering directory
`/local/users/fainelli/openwrt/trunk/build_dir/target-mipsel-linux-gnu_glibc/mdadm-4.0'
***** Parent of /run/mdadm does not exist.  Maybe set different RUN_DIR=
*****  e.g. make RUN_DIR=/dev/.mdadm
***** or set CHECK_RUN_DIR=0
make[3]: *** [check_rundir] Error 1
make[3]: Leaving directory
`/local/users/fainelli/openwrt/trunk/build_dir/target-mipsel-linux-gnu_glibc/mdadm-4.0'
make[2]: ***
[/local/users/fainelli/openwrt/trunk/build_dir/target-mipsel-linux-gnu_glibc/mdadm-4.0/.built]
Error 2
make[2]: Leaving directory
`/local/users/fainelli/openwrt/trunk/package/utils/mdadm'
make[1]: *** [package/utils/mdadm/compile] Error 2
make[1]: Leaving directory `/local/users/fainelli/openwrt/trunk'
make: *** [package/mdadm/compile] Error 2

Fixes: 980c41f8e04f ("utils/mdadm: Update to 4.0")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
package/utils/mdadm/Makefile