summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--README3
-rw-r--r--Rules.make4
-rw-r--r--dependencies.in11
3 files changed, 18 insertions, 0 deletions
diff --git a/README b/README
index e142382..89a9892 100644
--- a/README
+++ b/README
@@ -86,2 +86,5 @@ For a successful Opie build, you need to install the following libraries and hea
+* libobexftp >= 0.19
+ http://triq.net/obexftp.html
+
3. Required Programs
diff --git a/Rules.make b/Rules.make
index 9eeb9f9..a21404f 100644
--- a/Rules.make
+++ b/Rules.make
@@ -133,2 +133,6 @@ ifeq ($(CONFIG_LIBFLITE_DEP),y)
endif
+ifeq ($(CONFIG_LIBOBEXFTP_DEP),y)
+ echo LIBOBEXFTP_INC_DIR = $(CONFIG_LIBOBEXFTP_INC_DIR) >> $@
+ echo LIBOBEXFTP_LIB_DIR = $(CONFIG_LIBOBEXFTP_LIB_DIR) >> $@
+endif
$(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages
diff --git a/dependencies.in b/dependencies.in
index 2a3d34a..8d6fdbe 100644
--- a/dependencies.in
+++ b/dependencies.in
@@ -116 +116,12 @@
+ config LIBOBEXFTP_DEP
+ boolean "Have OBEX FTP library"
+ default "n"
+
+ config LIBOBEXFTP_INC_DIR
+ string "OBEXFTP include dir"
+ depends LIBOBEXFTP_DEP
+
+ config LIBOBEXFTP_LIB_DIR
+ string "OBEXFTP library dir"
+ depends LIBOBEXFTP_DEP