summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
author"Vladimir N. Oleynik"2005-09-19 16:18:46 +0000
committer"Vladimir N. Oleynik"2005-09-19 16:18:46 +0000
commit4a5d95d3fb6754b7e3ef22f7f05478750084e388 (patch)
tree5498716a9f4efadb707a240cddc980ba18835e9e /miscutils
parent9bfb2fc9225be23b7625cedd565358977350a22d (diff)
downloadbusybox-4a5d95d3fb6754b7e3ef22f7f05478750084e388.zip
busybox-4a5d95d3fb6754b7e3ef22f7f05478750084e388.tar.gz
corect build bbconfig applet, Thanks, Bernhard Fischer
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/Makefile.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/miscutils/Makefile.in b/miscutils/Makefile.in
index ba8069c..7885c16 100644
--- a/miscutils/Makefile.in
+++ b/miscutils/Makefile.in
@@ -33,9 +33,9 @@ MISCUTILS-$(CONFIG_DEVFSD) += devfsd.o
MISCUTILS-$(CONFIG_EJECT) += eject.o
MISCUTILS-$(CONFIG_HDPARM) += hdparm.o
MISCUTILS-$(CONFIG_LAST) += last.o
-MISCUTILS-${CONFIG_LESS} += less.o
+MISCUTILS-${CONFIG_LESS} += less.o
MISCUTILS-$(CONFIG_MAKEDEVS) += makedevs.o
-MISCUTILS-$(CONFIG_MOUNTPOINT) += mountpoint.o
+MISCUTILS-$(CONFIG_MOUNTPOINT) += mountpoint.o
MISCUTILS-$(CONFIG_MT) += mt.o
MISCUTILS-$(CONFIG_RX) += rx.o
MISCUTILS-$(CONFIG_SETSID) += setsid.o
@@ -55,6 +55,11 @@ endif
$(MISCUTILS_DIR)$(MISCUTILS_AR): $(patsubst %,$(MISCUTILS_DIR)%, $(MISCUTILS-y))
$(AR) $(ARFLAGS) $@ $(patsubst %,$(MISCUTILS_DIR)%, $(MISCUTILS-y))
+include/bbconfigopts.h: $(top_builddir)/.config
+ $(top_builddir)/scripts/config/mkconfigs >include/bbconfigopts.h
+
+$(MISCUTILS_DIR)bbconfig.o: include/bbconfigopts.h
+
$(MISCUTILS_DIR)%.o: $(srcdir)/%.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<