btrfs-progs: Fix build with external toolchains
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 17 Jun 2017 03:06:20 +0000 (20:06 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Sat, 17 Jun 2017 03:47:03 +0000 (20:47 -0700)
commitfcd25932bfc3028b770476c0e25df5a198a4862b
tree30e57cca90d313c7ffd02a90862542fc0126ac43
parent7eaa97f91c560eef1907562bedfca32b3c3a841a
btrfs-progs: Fix build with external toolchains

TARGET_CPPFLAGS were not propagated correctly leading to these kinds of
build failure:

btrfstune.c:26:23: fatal error: uuid/uuid.h: No such file or directory
 #include <uuid/uuid.h>
                       ^
compilation terminated.
btrfs-find-root.c:24:18: fatal error: zlib.h: No such file or directory
 #include <zlib.h>
                  ^
compilation terminated.
mkfs/common.c:18:23: fatal error: uuid/uuid.h: No such file or directory
 #include <uuid/uuid.h>

Fix that by passing TARGET_CPPFLAGS via EXTRA_CFLAGS

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
utils/btrfs-progs/Makefile