mdadm: convert to generic-package
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 14 Oct 2018 20:00:54 +0000 (22:00 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 15 Oct 2018 05:20:18 +0000 (07:20 +0200)
commit62c02b78206d520d1fb3e8ccd6cc198354f3f5b9
treed9a6d42cad70daf57900b26fcd1cac5f6058fb09
parent3c4c7a79ee9de47a860a64684eee1722c8784cc3
mdadm: convert to generic-package

There is absolutely no reason for mdadm.mk to use autotools-package:
this package does not have any configure script at all, and its
Makefile is not generated using automake.

Therefore, convert it to use the generic-package
infrastructure. Compared to the previous code, we are now using
$(TARGET_CONFIGURE_OPTS), which passes our CPPFLAGS. This overrides
the CPPFLAGS from mdadm's Makefile, so we repeat the only CPPFLAGS
flag passed in the Makefile, -DBINDIR.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mdadm/mdadm.mk