5d26126b9e
- use less resources for the buildsystem itself
24 lines
803 B
Makefile
24 lines
803 B
Makefile
# Makefile for busybox
|
|
#
|
|
# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
|
|
#
|
|
# Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
|
|
|
|
srcdir=$(top_srcdir)/coreutils/libcoreutils
|
|
objdir=$(top_builddir)/coreutils/libcoreutils
|
|
|
|
LIBCOREUTILS-$(CONFIG_MKFIFO) += getopt_mk_fifo_nod
|
|
LIBCOREUTILS-$(CONFIG_MKNOD) += getopt_mk_fifo_nod
|
|
LIBCOREUTILS-$(CONFIG_INSTALL) += cp_mv_stat
|
|
LIBCOREUTILS-$(CONFIG_CP) += cp_mv_stat
|
|
LIBCOREUTILS-$(CONFIG_MV) += cp_mv_stat
|
|
|
|
LIBCOREUTILS-y:=$(sort $(LIBCOREUTILS-y))
|
|
|
|
LIBCOREUTILS_SRC-y:=$(patsubst %,$(srcdir)/%.c,$(LIBCOREUTILS-y))
|
|
LIBCOREUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
|
|
LIBRARY_SRC-y+=$(LIBCOREUTILS_SRC-y)
|
|
LIBRARY_SRC-a+=$(LIBCOREUTILS_SRC-a)
|
|
|
|
coreutils_libcoreutils_OBJ$(os):=$(patsubst %,$(objdir)/%$(os),$(LIBCOREUTILS-y))
|