Bernhard Reutner-Fischer
7abe709867
- Fix spurious rebuilds for (parallel) out-of-tree builds.
...
Make sure that the directories are order-only prerequisites. Otherwise we
may have object files created after the timestamp of the directory was
updated which would lead to spurious rebuilds (as some of the dentries
may be older than the dir itself).
2005-10-05 10:06:11 +00:00
Bernhard Reutner-Fischer
5c071bcf2f
- fix building out-of-tree;
...
to test, checkout the source (let's assume /scratch/src/busybox), then
mkdir /tmp/bb ; cd /tmp/bb
make top_srcdir=/scratch/src/busybox O="$(pwd)" -f /scratch/src/busybox/Makefile allyesconfig check
- default to O=$(pwd) if no O was specified. Now you can just specify
the top_srcdir (without O=/somewhere) to create the obj-tree in pwd.
- make "make configtarget buildtarget" work. Previously this didn't
work due to how HAVE_DOT_CONFIG was evaluated. Two separate steps were
needed before, e.g. make config ; make busybox.
- remove some unneeded variables from Rules.mak (BB_SRC_DIR from Mr.
ldoolitt@recycle.lbl ) which suggest that the stuff fixed above
didn't work before.
- move selinux libraries to where they belong (from Makefile to Rules.mak)
- update the docs to mention svn instead of cvs and provide an example
for building out-of-tree in INSTALL.
2005-10-05 07:40:46 +00:00
Mike Frysinger
dc2510327b
as Tito points out, e2fsck and fsck need more dependencies
2005-10-05 00:52:37 +00:00
Mike Frysinger
7f782da048
excellent shrinkage patch by Tito
2005-10-02 08:10:31 +00:00
Mike Frysinger
9134dff078
clean out unneeded E2FSCK variables
2005-10-02 08:09:50 +00:00
Bernhard Reutner-Fischer
e6d5539ebb
typo
2005-09-30 09:46:27 +00:00
Bernhard Reutner-Fischer
f24e0f5e6f
- remove duplicate entry of resolve.c in BLKID_SRC
...
- use the sourcedir to look for includes rather than the builddir
2005-09-30 08:25:50 +00:00
"Vladimir N. Oleynik"
39a841cecf
change interface to bb_xasprintf() - more perfect for me.
...
ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers
reduce 100 bytes don't care in sum
2005-09-29 16:18:57 +00:00
"Vladimir N. Oleynik"
6a60c821a8
forgotten putenv
2005-09-29 15:53:34 +00:00
"Vladimir N. Oleynik"
6160d45e05
more busybox's style for fsck.c, size reduce
2005-09-29 09:45:22 +00:00
"Vladimir N. Oleynik"
69d728be18
more const, inline, forward declaration usage, strip 20k source size ;-)
2005-09-28 15:16:22 +00:00
"Vladimir N. Oleynik"
3978e5576e
move e2fsck/* to e2fsck.c, one e2fsck_main and jornal exported, small automatic size reduction
2005-09-27 11:43:29 +00:00
Mike Frysinger
16ce8aa412
fix building w/out et headers and w/out debug
2005-09-27 04:21:48 +00:00
Mike Frysinger
7ad978045d
fix building with debugging enabled #413
2005-09-25 05:18:04 +00:00
Mike Frysinger
5423df9ebc
force nodebug by default
2005-09-24 07:20:59 +00:00
Mike Frysinger
62f18e1f20
use the shorter license header
2005-09-24 07:16:29 +00:00
Mike Frysinger
51a43b47fe
import the very fat e2fsck/fsck applets
2005-09-24 07:11:16 +00:00
Mike Frysinger
bfe773f471
make sure we include local header files
2005-09-24 07:10:37 +00:00
Mike Frysinger
0f8a63896e
err, fix stupid mistake in previous do_findfs() change
2005-09-24 06:07:34 +00:00
Mike Frysinger
0d4ee68be5
use brief license line
2005-09-24 06:01:57 +00:00
Mike Frysinger
97b43a7999
fix broken whitespace and remove pointless mkdir
2005-09-24 05:58:39 +00:00
Mike Frysinger
a1c6a57fea
make e2label and findfs optional
2005-09-24 05:55:03 +00:00
"Vladimir N. Oleynik"
9bfb2fc922
hmm, forgoten remove llseek?
2005-09-19 14:25:55 +00:00
"Vladimir N. Oleynik"
b71e6024f9
mke2fs.c can compiled for me, more bb_xstrdup and bb_xasprintf usage, remove 1 exporing, ext2fs_llseek/blkid_llseek->llseek
2005-09-19 13:48:39 +00:00
Rob Landley
20a825aed8
Fix warnings.
2005-09-07 07:04:56 +00:00
Rob Landley
e1d9633e20
Bernhard Fischer submitted a couple of Makefile patches:
...
- Fix building out-of-tree
- remove duplicate rule in toplevel Makefile
- peruse make's builtin notion of `dirname $@'
2005-08-24 00:41:52 +00:00
Mike Frysinger
e70aa9de7e
only declare do_swap if we need it
2005-07-30 09:43:58 +00:00
Mike Frysinger
f7eaf5a012
apgo in Bug 351 says: punt parse_version_number since it is no longer used
2005-07-30 07:29:22 +00:00
Mike Frysinger
4d00896d05
use toplevel ARFLAGS and update default ARFLAGS to be quiet
2005-07-27 01:09:24 +00:00
Mike Frysinger
fc379ba077
rip out all the non-linux code and ugly workarounds
2005-06-28 23:50:18 +00:00
Mike Frysinger
df1eda82b9
Tito says: unify verbose/quiet flags
2005-06-17 02:13:57 +00:00
Mike Frysinger
d0615ae73a
Tito says: strip unused program_name
...
Vladimir N. Oleynik says: uname() can be replaced with get_kernel_revision()
2005-06-17 01:35:52 +00:00
Mike Frysinger
d5826903c1
use xmalloc instead of malloc
2005-06-12 00:45:09 +00:00
Mike Frysinger
7fde8debc4
use malloc instead of xmalloc
2005-06-11 22:37:25 +00:00
Mike Frysinger
d1a9d57bd6
use xmalloc() instead of malloc()
2005-06-11 22:25:27 +00:00
Mike Frysinger
2401ce5343
use xmalloc() and bb_perror_msg_and_die()
2005-06-11 22:24:15 +00:00
Mike Frysinger
0b3fc1a9ac
remove com_err.h includes
2005-06-11 20:29:02 +00:00
Mike Frysinger
16bc6159f3
DOS only crap
2005-06-11 20:28:47 +00:00
Mike Frysinger
6447ac0ef4
import initial fat mke2fs
2005-06-11 05:29:40 +00:00
Mike Frysinger
174808cedb
import tune2fs support
2005-06-11 01:14:09 +00:00
Mike Frysinger
a34f99930d
fix signed/unsigned char pointers
2005-06-11 00:50:59 +00:00
Mike Frysinger
7ffce0c119
oops, we only want to affect local CFLAGS
2005-06-11 00:45:50 +00:00
Mike Frysinger
d5624dcc0d
initial fat tune2fs/findfs/e2label source
2005-06-11 00:40:20 +00:00
Mike Frysinger
cae717e1f6
replace simple is_null func with a memcmp define
2005-06-11 00:36:04 +00:00
Mike Frysinger
f3d28845f8
force including of e2fsbb.h and move the HAVE_* defines to it
2005-06-11 00:27:50 +00:00
Mike Frysinger
e037622641
make sure clean removes objects in subdirs
2005-06-11 00:12:12 +00:00
Mike Frysinger
f98f5e37cd
need strings.h for ffs()
2005-06-11 00:11:46 +00:00
Mike Frysinger
0301ffab3d
only define some variables if legacy EXT2FS_ENABLE_SWAPFS is enabled
2005-06-11 00:11:37 +00:00
Mike Frysinger
1f96c97984
replace simple functions with defines
2005-06-11 00:10:44 +00:00
Mike Frysinger
68497c0bd3
whitespace updates
2005-06-11 00:10:29 +00:00