mdadm: pass CHECK_RUN_DIR=0 to the Makefile in order to fix build failure
authorChristophe Vu-Brugier <cvubrugier@yahoo.fr>
Tue, 17 Dec 2013 10:09:50 +0000 (11:09 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 19 Dec 2013 15:36:02 +0000 (16:36 +0100)
This commit should fix build failures of mdadm 3.3:

  http://autobuild.buildroot.net/results/b4a/b4abc317d07b073f8be870ff0e7fee8f8c65f2ff/
  http://autobuild.buildroot.net/results/79e/79e6c5081a5197c4f4647db497fbd1e27f29714d/
  http://autobuild.buildroot.net/results/224/2242f8284aa4bdbb0ab959a6a6464f20fa043e2f/

Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mdadm/mdadm.mk

index 4418986712f01b0a404d519034dc38c1bd2a2df5..c1491a47a6d265cc5be744ecf597f57d775541c9 100644 (file)
@@ -11,7 +11,7 @@ MDADM_LICENSE = GPLv2+
 MDADM_LICENSE_FILES = COPYING
 
 MDADM_MAKE_OPT = \
-       CFLAGS="$(TARGET_CFLAGS)" CC="$(TARGET_CC)" -C $(MDADM_DIR) mdadm
+       CFLAGS="$(TARGET_CFLAGS)" CC="$(TARGET_CC)" CHECK_RUN_DIR=0 -C $(MDADM_DIR) mdadm
 
 MDADM_INSTALL_TARGET_OPT = \
        DESTDIR=$(TARGET_DIR)/usr -C $(MDADM_DIR) install-mdadm