aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorGravatar Mike Frysinger <vapier@gentoo.org>2006-02-02 01:41:53 +0000
committerGravatar Mike Frysinger <vapier@gentoo.org>2006-02-02 01:41:53 +0000
commitb38673fb9fee63303cc6b7d4923ea0dd7cf7310a (patch)
treed6b2fba68832d7f0e061614dda4372119f58156f /networking
parent1f04c9d29c8a79cc71a7dd01e18e14c0fe8a8726 (diff)
downloadbusybox-b38673fb9fee63303cc6b7d4923ea0dd7cf7310a.tar.gz
busybox-b38673fb9fee63303cc6b7d4923ea0dd7cf7310a.tar.bz2
make the build system puuuuuuuuuuurty
Diffstat (limited to 'networking')
-rw-r--r--networking/Makefile.in4
-rw-r--r--networking/libiproute/Makefile.in5
-rw-r--r--networking/udhcp/Makefile.in5
3 files changed, 6 insertions, 8 deletions
diff --git a/networking/Makefile.in b/networking/Makefile.in
index 50eb450e7..a07af7abd 100644
--- a/networking/Makefile.in
+++ b/networking/Makefile.in
@@ -62,7 +62,7 @@ ifeq ($(needcrypt-y),y)
endif
$(NETWORKING_DIR)$(NETWORKING_AR): $(patsubst %,$(NETWORKING_DIR)%, $(NETWORKING-y))
- $(AR) $(ARFLAGS) $@ $(patsubst %,$(NETWORKING_DIR)%, $(NETWORKING-y))
+ $(do_ar)
$(NETWORKING_DIR)%.o: $(srcdir)/%.c
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
+ $(compile.c)
diff --git a/networking/libiproute/Makefile.in b/networking/libiproute/Makefile.in
index 37d556dd9..6b7bd900c 100644
--- a/networking/libiproute/Makefile.in
+++ b/networking/libiproute/Makefile.in
@@ -86,8 +86,7 @@ endif
endif
$(LIBIPROUTE_DIR)/$(LIBIPROUTE_AR): $(patsubst %,$(LIBIPROUTE_DIR)/%,$(LIBIPROUTE-y))
- $(AR) $(ARFLAGS) $@ $(^)
+ $(do_ar)
$(LIBIPROUTE_DIR)/%.o: $(srcdir)/%.c
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
-
+ $(compile.c)
diff --git a/networking/udhcp/Makefile.in b/networking/udhcp/Makefile.in
index 8573a2fc4..c9e0f5b89 100644
--- a/networking/udhcp/Makefile.in
+++ b/networking/udhcp/Makefile.in
@@ -45,8 +45,7 @@ APPLETS_DEFINE-y+=-DIN_BUSYBOX -I$(UDHCP_INCLUDES)
APPLETS_DEFINE-a+=-DIN_BUSYBOX -I$(UDHCP_INCLUDES)
$(UDHCP_DIR)$(UDHCP_AR): $(UDHCP_OBJS)
- $(AR) $(ARFLAGS) $@ $(UDHCP_OBJS)
+ $(do_ar)
$(UDHCP_OBJS): $(UDHCP_DIR)%.o : $(srcdir)/%.c
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DIN_BUSYBOX -c $< -o $@
-
+ $(compile.c) -DIN_BUSYBOX