- use absolute path for top_builddir and top_srcdir. Fixes make trying to include the very same file in an endless loop.
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)
No binary (build failed)
—
(log yok)
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/applets | |
| APPLETS_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| ARCHIVAL_DIR:=./ | |
| srcdir=$(top_srcdir)/archival | |
| include $(top_builddir)/Rules.mak | |
| @@ -17,8 +17,12 @@ | |
| # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| # | |
| + | ifndef top_srcdir |
| top_srcdir=../.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=../.. | |
| + | endif |
| srcdir=$(top_srcdir)/archival/libunarchive | |
| LIBUNARCHIVE_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/console/tools | |
| CONSOLETOOLS_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/coreutils | |
| SHELLUTILS_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -17,8 +17,12 @@ | |
| # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| # | |
| + | ifndef top_srcdir |
| top_srcdir=../.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=../.. | |
| + | endif |
| srcdir=$(top_srcdir)/coreutils/libcoreutils | |
| LIBCOREUTILS_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/debianutils | |
| DEBIANUTILS_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/e2fsprogs | |
| E2FSPROGS_DIR:=./ | |
| include $(top_builddir)/.config | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/editors | |
| EDITOR_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/findutils | |
| FINDUTILS_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/init | |
| INIT_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/libbb | |
| LIBBB_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/libpwgrp | |
| LIBPWDGRP_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/loginutils | |
| LOGINUTILS_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/miscutils | |
| MISCUTILS_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/modutils | |
| MODUTILS_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/networking | |
| NETWORKING_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -17,8 +17,12 @@ | |
| # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| # | |
| + | ifndef top_srcdir |
| top_srcdir=../.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=../.. | |
| + | endif |
| srcdir=$(top_srcdir)/networking/libiproute | |
| LIBIPROUTE_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -17,8 +17,12 @@ | |
| # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| # | |
| + | ifndef top_srcdir |
| top_srcdir=../.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=../.. | |
| + | endif |
| srcdir=$(top_srcdir)/networking/udhcp | |
| UDHCP_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/procps | |
| PROCPS_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -2,8 +2,12 @@ | |
| # | |
| # Copyright (C) 2002 Erik Andersen <[email protected]> | |
| + | ifndef top_srcdir |
| top_srcdir=../.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=../.. | |
| + | endif |
| srcdir=$(top_srcdir)/scripts/config | |
| include $(top_srcdir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/shell | |
| SHELL_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/sysklogd | |
| SYSKLOGD_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |
| @@ -4,8 +4,12 @@ | |
| # | |
| # Licensed under the GPL v2, see the file LICENSE in this tarball. | |
| + | ifndef top_srcdir |
| top_srcdir=.. | |
| + | endif |
| + | ifndef top_builddir |
| top_builddir=.. | |
| + | endif |
| srcdir=$(top_srcdir)/util-linux | |
| UTILLINUX_DIR:=./ | |
| include $(top_builddir)/Rules.mak | |