build system: small optimization
This commit is contained in:
@@ -4,9 +4,14 @@
|
||||
#
|
||||
# Licensed under the GPL v2, see the file LICENSE in this tarball.
|
||||
|
||||
NEEDED-$(CONFIG_E2FSCK) = y
|
||||
NEEDED-$(CONFIG_FSCK) = y
|
||||
NEEDED-$(CONFIG_MKE2FS) = y
|
||||
NEEDED-$(CONFIG_TUNE2FS) = y
|
||||
|
||||
lib-y:=
|
||||
lib-y += cache.o dev.o devname.o devno.o blkid_getsize.o \
|
||||
probe.o read.o resolve.o save.o tag.o list.o
|
||||
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
|
||||
|
||||
CFLAGS_dev.o := -include include/busybox.h
|
||||
CFLAGS_devname.o := -include include/busybox.h
|
||||
|
Reference in New Issue
Block a user