2006-10-05 10:17:08 +00:00
|
|
|
# Makefile for busybox
|
|
|
|
#
|
|
|
|
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
|
|
|
#
|
|
|
|
# Licensed under the GPL v2, see the file LICENSE in this tarball.
|
|
|
|
|
2006-10-05 10:26:05 +00:00
|
|
|
NEEDED-$(CONFIG_E2FSCK) = y
|
|
|
|
NEEDED-$(CONFIG_FSCK) = y
|
|
|
|
NEEDED-$(CONFIG_MKE2FS) = y
|
|
|
|
NEEDED-$(CONFIG_TUNE2FS) = y
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
lib-y:=
|
2006-10-05 10:26:05 +00:00
|
|
|
lib-$(NEEDED-y) += cache.o dev.o devname.o devno.o blkid_getsize.o \
|
|
|
|
probe.o read.o resolve.o save.o tag.o list.o
|
2006-10-05 10:17:08 +00:00
|
|
|
|
2006-10-11 21:24:42 +00:00
|
|
|
CFLAGS_dev.o := -include $(srctree)/include/busybox.h
|
|
|
|
CFLAGS_devname.o := -include $(srctree)/include/busybox.h
|
|
|
|
CFLAGS_devno.o := -include $(srctree)/include/busybox.h
|
|
|
|
CFLAGS_blkid_getsize.o := -include $(srctree)/include/busybox.h
|
|
|
|
CFLAGS_probe.o := -include $(srctree)/include/busybox.h
|
|
|
|
CFLAGS_save.o := -include $(srctree)/include/busybox.h
|
|
|
|
CFLAGS_tag.o := -include $(srctree)/include/busybox.h
|
|
|
|
CFLAGS_list.o := -include $(srctree)/include/busybox.h
|