← Commit list

14b1c1da9

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2005-10-05
SOURCE BUG Duration: 8s

Subject

- remove explicit dependency of busybox.o and applets.o and usage.h from the Makefile. Instead fix the invocation of bb_mkdep.

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

Makefile+1 -1
@@ -275,7 +275,7 @@ depend dep $(top_builddir)/.depend: .depend
.depend: scripts/bb_mkdep $(DEP_INCLUDES)
@rm -f .depend
@mkdir -p include/config
- scripts/bb_mkdep -c include/config.h -c include/bb_config.h $(top_srcdir)/ > [email protected]
+ scripts/bb_mkdep -c include/config.h -c include/bb_config.h -I $(top_srcdir)/include $(top_srcdir)/ > [email protected]
mv [email protected] $@
include/config.h: .config
applets/Makefile.in+1 -1
@@ -18,7 +18,7 @@ libraries-y+=$(APPLETS_DIR)$(APPLETS_AR)
$(APPLETS_DIR)$(APPLETS_AR): $(APPLET_OBJ)
$(AR) $(ARFLAGS) $@ $(APPLET_OBJ)
-$(APPLET_OBJ): $(top_builddir)/.config $(top_srcdir)/include/usage.h
+$(APPLET_OBJ): $(top_builddir)/.config
$(APPLET_OBJ): $(APPLETS_DIR)%.o: $(srcdir)/%.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<