summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapps/ChangeLog.txt3
-rw-r--r--apps/netutils/dhcpc/Makefile2
-rw-r--r--apps/netutils/dhcpd/Makefile2
-rw-r--r--apps/netutils/resolv/Makefile2
-rw-r--r--apps/netutils/tftpc/Makefile2
5 files changed, 7 insertions, 4 deletions
diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt
index 9bdb87741..e3a87ae25 100755
--- a/apps/ChangeLog.txt
+++ b/apps/ChangeLog.txt
@@ -37,3 +37,6 @@
on module now installs and builds under this directory.
* apps/interpreter/ficl: Added logic to build Ficl (the "Forth Inspired
Command Language"). See http://ficl.sourceforge.net/.
+ * apps/netutils/dhcpc, dhcpcd, and tftp. If these directories are included
+ in the configuration but CONFIG_NET_UDP is disable (which is not very wise),
+ then a make error occurs because tools/mkdep.sh is called with no files.
diff --git a/apps/netutils/dhcpc/Makefile b/apps/netutils/dhcpc/Makefile
index c69a5bdf4..0434630c9 100644
--- a/apps/netutils/dhcpc/Makefile
+++ b/apps/netutils/dhcpc/Makefile
@@ -82,7 +82,7 @@ $(COBJS): %$(OBJEXT): %.c
context:
.depend: Makefile $(SRCS)
-ifneq ($(SRCS),)
+ifeq ($(CONFIG_NET_UDP),y)
@$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
endif
@touch $@
diff --git a/apps/netutils/dhcpd/Makefile b/apps/netutils/dhcpd/Makefile
index 24b5bd778..77c69d155 100644
--- a/apps/netutils/dhcpd/Makefile
+++ b/apps/netutils/dhcpd/Makefile
@@ -82,7 +82,7 @@ $(COBJS): %$(OBJEXT): %.c
context:
.depend: Makefile $(SRCS)
-ifneq ($(SRCS),)
+ifeq ($(CONFIG_NET_UDP),y)
@$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
endif
@touch $@
diff --git a/apps/netutils/resolv/Makefile b/apps/netutils/resolv/Makefile
index 9c822078d..53556203c 100644
--- a/apps/netutils/resolv/Makefile
+++ b/apps/netutils/resolv/Makefile
@@ -82,7 +82,7 @@ $(COBJS): %$(OBJEXT): %.c
context:
.depend: Makefile $(SRCS)
-ifneq ($(SRCS),)
+ifeq ($(CONFIG_NET_UDP),y)
@$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
endif
@touch $@
diff --git a/apps/netutils/tftpc/Makefile b/apps/netutils/tftpc/Makefile
index dc2cbf03c..e810124a6 100644
--- a/apps/netutils/tftpc/Makefile
+++ b/apps/netutils/tftpc/Makefile
@@ -84,7 +84,7 @@ $(COBJS): %$(OBJEXT): %.c
context:
.depend: Makefile $(SRCS)
-ifneq ($(SRCS),)
+ifeq ($(CONFIG_NET_UDP),y)
@$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
endif
@touch $@