$(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
+$(top_builddir)/include/bbconfigopts.h: $(top_builddir)/.config
+ $(top_builddir)/scripts/config/mkconfigs > $(top_builddir)/include/bbconfigopts.h
-$(MISCUTILS_DIR)bbconfig.o: include/bbconfigopts.h
+$(MISCUTILS_DIR)bbconfig.o: $(top_builddir)/include/bbconfigopts.h
$(MISCUTILS_DIR)%.o: $(srcdir)/%.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<