summaryrefslogtreecommitdiff
path: root/devel/android-tools-fastboot-devel/files/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/android-tools-fastboot-devel/files/Makefile')
-rw-r--r--devel/android-tools-fastboot-devel/files/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/android-tools-fastboot-devel/files/Makefile b/devel/android-tools-fastboot-devel/files/Makefile
index 64fcbb34940a..443dd2d1d5b4 100644
--- a/devel/android-tools-fastboot-devel/files/Makefile
+++ b/devel/android-tools-fastboot-devel/files/Makefile
@@ -4,11 +4,11 @@ PROG_CXX=fastboot
BINDIR?=/usr/bin
SRCS+= bootimg_utils.cpp
-SRCS+= engine.c
+SRCS+= engine.cpp
SRCS+= fastboot.cpp
-SRCS+= fs.c
-SRCS+= protocol.c
-SRCS+= util.c
+SRCS+= fs.cpp
+SRCS+= protocol.cpp
+SRCS+= util.cpp
.PATH: ${FILESDIR}
SRCS+= usb_freebsd.c
@@ -47,7 +47,9 @@ SRCS+= init.c
SRCS+= label.c
SRCS+= label_android_property.c
SRCS+= label_file.c
+SRCS+= label_support.c
CFLAGS.init.c+= -DDARWIN # statfs
+CFLAGS.label_file.c+= -D_WITH_GETLINE
# required by fastboot and ext4_utils
.PATH: ${.CURDIR}/../libsparse