Last change
on this file since 2508 was 821, checked in by Bruno Cornec, 18 years ago |
Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)
|
File size:
823 bytes
|
Line | |
---|
1 | # Makefile for busybox
|
---|
2 | #
|
---|
3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
---|
4 | #
|
---|
5 | # Licensed under the GPL v2, see the file LICENSE in this tarball.
|
---|
6 |
|
---|
7 | SHELL_AR:=shell.a
|
---|
8 | ifndef $(SHELL_DIR)
|
---|
9 | SHELL_DIR:=$(top_builddir)/shell/
|
---|
10 | endif
|
---|
11 | srcdir=$(top_srcdir)/shell
|
---|
12 |
|
---|
13 | SHELLT-y:=
|
---|
14 | SHELLT-$(CONFIG_ASH) += ash.o
|
---|
15 | SHELLT-$(CONFIG_HUSH) += hush.o
|
---|
16 | SHELLT-$(CONFIG_LASH) += lash.o
|
---|
17 | SHELLT-$(CONFIG_MSH) += msh.o
|
---|
18 | SHELLT-$(CONFIG_FEATURE_COMMAND_EDITING) += cmdedit.o
|
---|
19 |
|
---|
20 | ifneq ($(strip $(SHELLT-y)),)
|
---|
21 | libraries-y+=$(SHELL_DIR)$(SHELL_AR)
|
---|
22 | endif
|
---|
23 |
|
---|
24 | SHELLT_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(SHELLT-y))
|
---|
25 | SHELLT_SRC-a:=$(wildcard $(srcdir)/*.c)
|
---|
26 | APPLET_SRC-y+=$(SHELLT_SRC-y)
|
---|
27 | APPLET_SRC-a+=$(SHELLT_SRC-a)
|
---|
28 |
|
---|
29 | $(SHELL_DIR)$(SHELL_AR): $(patsubst %,$(SHELL_DIR)%, $(SHELLT-y))
|
---|
30 | $(do_ar)
|
---|
31 |
|
---|
32 | $(SHELL_DIR)%.o: $(srcdir)/%.c
|
---|
33 | $(compile.c)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.