summaryrefslogtreecommitdiff
path: root/scripts/config
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-03-13 19:04:00 +0000
committerBernhard Reutner-Fischer2006-03-13 19:04:00 +0000
commitdf10094870c28cc0c6c5577c9aa03b8ede9cb8a6 (patch)
tree49493696039b285aa751a5bc884fc70c9c85e878 /scripts/config
parentc5b1d4d6b14f22b5e2f7ae42eb01bf2746b8001c (diff)
downloadbusybox-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.zip
busybox-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.tar.gz
- revert back to r14406
Diffstat (limited to 'scripts/config')
-rw-r--r--scripts/config/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/scripts/config/Makefile b/scripts/config/Makefile
index 716e130..4c966f7 100644
--- a/scripts/config/Makefile
+++ b/scripts/config/Makefile
@@ -2,12 +2,8 @@
#
# Copyright (C) 2002 Erik Andersen <andersen@codepoet.org>
-ifndef top_srcdir
top_srcdir=../..
-endif
-ifndef top_builddir
top_builddir=../..
-endif
srcdir=$(top_srcdir)/scripts/config
include $(top_srcdir)/Rules.mak
@@ -54,10 +50,12 @@ MCONF_OBJS = $(patsubst %.c,%.o, $(MCONF_SRC) $(LXD_SRC))
SHARED_OBJS = $(patsubst %.c,%.o, $(SHARED_SRC))
conf: $(CONF_OBJS) $(SHARED_OBJS)
- $(do_link.h)
+ $(SECHO) " "HOSTCC $@ ; true
+ $(Q)$(HOSTCC) $(NATIVE_LDFLAGS) $^ -o $@
mconf: $(MCONF_OBJS) $(SHARED_OBJS)
- $(do_link.h) $(LIBS)
+ $(SECHO) " "HOSTCC $@ ; true
+ $(Q)$(HOSTCC) $(NATIVE_LDFLAGS) $^ -o $@ $(LIBS)
$(CONF_OBJS): %.o : $(srcdir)/%.c $(SHARED_DEPS)
$(compile.h) -I.