From 07a79e75f502ebd41e5341aacc5de303d3ffaea0 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 9 Mar 2006 09:03:37 +0000 Subject: - backout using features which are not available with the previous stable version of make (3.71.1). --- networking/udhcp/Makefile.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'networking/udhcp/Makefile.in') diff --git a/networking/udhcp/Makefile.in b/networking/udhcp/Makefile.in index ca00b647d..210939fd6 100644 --- a/networking/udhcp/Makefile.in +++ b/networking/udhcp/Makefile.in @@ -4,8 +4,8 @@ # # Licensed under the GPL v2 or later, see the file LICENSE in this tarball. -srcdir=$(top_srcdir)/networking/udhcp -objdir=$(top_builddir)/networking/udhcp +srcdir:=$(top_srcdir)/networking/udhcp +objdir:=$(top_builddir)/networking/udhcp #ok, so I forgot how to do an or, but this is a quick and dirty hack ifeq ($(strip $(CONFIG_UDHCPC)),y) @@ -88,3 +88,7 @@ endif networking_udhcp_OBJ:=$(patsubst %.c,$(objdir)/%.o,$(UDHCP-y)) +$(networking_udhcp_OBJ): $(objdir)/%.o: $(srcdir)/%.c +$(objdir)/udhcp.a: $(networking_udhcp_OBJ) +libraries-y:=$(libraries-y) $(objdir)/udhcp.a + -- cgit v1.2.3