diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-02-15 10:53:40 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-02-15 10:53:40 +0000 |
commit | 3238ea1673d55b37abeba066826963101e6af020 (patch) | |
tree | df76d70db494b6f968a007b750aff0111805c742 /coreutils | |
parent | 858fad722fa949f057dbc5a5e7dd63eef8954187 (diff) | |
download | busybox-w32-3238ea1673d55b37abeba066826963101e6af020.tar.gz busybox-w32-3238ea1673d55b37abeba066826963101e6af020.tar.bz2 busybox-w32-3238ea1673d55b37abeba066826963101e6af020.zip |
Merge fileutils, textutils and shellutils into coreuils
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/Config.in | 504 | ||||
-rw-r--r-- | coreutils/Makefile | 30 | ||||
-rw-r--r-- | coreutils/Makefile.in | 90 |
3 files changed, 624 insertions, 0 deletions
diff --git a/coreutils/Config.in b/coreutils/Config.in new file mode 100644 index 000000000..6ee319a0d --- /dev/null +++ b/coreutils/Config.in | |||
@@ -0,0 +1,504 @@ | |||
1 | # | ||
2 | # For a description of the syntax of this configuration file, | ||
3 | # see scripts/kbuild/config-language.txt. | ||
4 | # | ||
5 | |||
6 | menu "Coreutils" | ||
7 | |||
8 | config CONFIG_BASENAME | ||
9 | bool "basename" | ||
10 | default n | ||
11 | help | ||
12 | Please submit a patch to add help text for this item. | ||
13 | |||
14 | config CONFIG_CAL | ||
15 | bool "cal" | ||
16 | default n | ||
17 | help | ||
18 | Please submit a patch to add help text for this item. | ||
19 | |||
20 | config CONFIG_CAT | ||
21 | bool "cat" | ||
22 | default n | ||
23 | help | ||
24 | Please submit a patch to add help text for this item. | ||
25 | |||
26 | config CONFIG_CHGRP | ||
27 | bool "chgrp" | ||
28 | default n | ||
29 | help | ||
30 | Please submit a patch to add help text for this item. | ||
31 | |||
32 | config CONFIG_CHMOD | ||
33 | bool "chmod" | ||
34 | default n | ||
35 | help | ||
36 | Please submit a patch to add help text for this item. | ||
37 | |||
38 | config CONFIG_CHOWN | ||
39 | bool "chown" | ||
40 | default n | ||
41 | help | ||
42 | Please submit a patch to add help text for this item. | ||
43 | |||
44 | config CONFIG_CHROOT | ||
45 | bool "chroot" | ||
46 | default n | ||
47 | help | ||
48 | Please submit a patch to add help text for this item. | ||
49 | |||
50 | config CONFIG_CMP | ||
51 | bool "cmp" | ||
52 | default n | ||
53 | help | ||
54 | Please submit a patch to add help text for this item. | ||
55 | |||
56 | config CONFIG_CP | ||
57 | bool "cp" | ||
58 | default n | ||
59 | help | ||
60 | Please submit a patch to add help text for this item. | ||
61 | |||
62 | config CONFIG_CUT | ||
63 | bool "cut" | ||
64 | default n | ||
65 | help | ||
66 | Please submit a patch to add help text for this item. | ||
67 | |||
68 | if CONFIG_WATCH | ||
69 | config CONFIG_DATE | ||
70 | default y | ||
71 | comment "date (forced enabled for use with watch)" | ||
72 | endif | ||
73 | |||
74 | if !CONFIG_WATCH | ||
75 | config CONFIG_DATE | ||
76 | bool "date" | ||
77 | default n | ||
78 | help | ||
79 | Please submit a patch to add help text for this item. | ||
80 | endif | ||
81 | |||
82 | config CONFIG_FEATURE_DATE_ISOFMT | ||
83 | bool " Enable ISO date format output (-I)" | ||
84 | default y | ||
85 | depends on CONFIG_DATE | ||
86 | help | ||
87 | Please submit a patch to add help text for this item. | ||
88 | |||
89 | config CONFIG_DD | ||
90 | bool "dd" | ||
91 | default n | ||
92 | help | ||
93 | Please submit a patch to add help text for this item. | ||
94 | |||
95 | config CONFIG_DF | ||
96 | bool "df" | ||
97 | default n | ||
98 | help | ||
99 | Please submit a patch to add help text for this item. | ||
100 | |||
101 | config CONFIG_DIRNAME | ||
102 | bool "dirname" | ||
103 | default n | ||
104 | help | ||
105 | Please submit a patch to add help text for this item. | ||
106 | |||
107 | config CONFIG_DOS2UNIX | ||
108 | bool "dos2unix/unix2dos" | ||
109 | default n | ||
110 | help | ||
111 | Please submit a patch to add help text for this item. | ||
112 | |||
113 | config CONFIG_DU | ||
114 | bool "du" | ||
115 | default n | ||
116 | help | ||
117 | Please submit a patch to add help text for this item. | ||
118 | |||
119 | config CONFIG_ECHO | ||
120 | bool "echo" | ||
121 | default n | ||
122 | help | ||
123 | Please submit a patch to add help text for this item. | ||
124 | |||
125 | config CONFIG_ENV | ||
126 | bool "env" | ||
127 | default n | ||
128 | help | ||
129 | Please submit a patch to add help text for this item. | ||
130 | |||
131 | config CONFIG_EXPR | ||
132 | bool "expr" | ||
133 | default n | ||
134 | help | ||
135 | Please submit a patch to add help text for this item. | ||
136 | |||
137 | if CONFIG_HUSH || CONFIG_LASH || CONFIG_MSH | ||
138 | config CONFIG_FALSE | ||
139 | default y | ||
140 | comment "false (forced enabled for use with shell)" | ||
141 | endif | ||
142 | |||
143 | if !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH | ||
144 | config CONFIG_FALSE | ||
145 | bool "false" | ||
146 | default n | ||
147 | help | ||
148 | Please submit a patch to add help text for this item. | ||
149 | endif | ||
150 | |||
151 | config CONFIG_HEAD | ||
152 | bool "head" | ||
153 | default n | ||
154 | help | ||
155 | Please submit a patch to add help text for this item. | ||
156 | |||
157 | config CONFIG_HOSTID | ||
158 | bool "hostid" | ||
159 | default n | ||
160 | help | ||
161 | Please submit a patch to add help text for this item. | ||
162 | |||
163 | config CONFIG_ID | ||
164 | bool "id" | ||
165 | default n | ||
166 | help | ||
167 | Please submit a patch to add help text for this item. | ||
168 | |||
169 | config CONFIG_LENGTH | ||
170 | bool "length" | ||
171 | default n | ||
172 | help | ||
173 | Please submit a patch to add help text for this item. | ||
174 | |||
175 | config CONFIG_LN | ||
176 | bool "ln" | ||
177 | default n | ||
178 | help | ||
179 | Please submit a patch to add help text for this item. | ||
180 | |||
181 | config CONFIG_LOGNAME | ||
182 | bool "logname" | ||
183 | default n | ||
184 | help | ||
185 | Please submit a patch to add help text for this item. | ||
186 | |||
187 | config CONFIG_LS | ||
188 | bool "ls" | ||
189 | default n | ||
190 | help | ||
191 | Please submit a patch to add help text for this item. | ||
192 | |||
193 | config CONFIG_FEATURE_LS_FILETYPES | ||
194 | bool " Enable filetyping options (-p and -F)" | ||
195 | default y | ||
196 | depends on CONFIG_LS | ||
197 | help | ||
198 | Please submit a patch to add help text for this item. | ||
199 | |||
200 | config CONFIG_FEATURE_LS_FOLLOWLINKS | ||
201 | bool " Enable symlinks dereferencing (-L)" | ||
202 | default y | ||
203 | depends on CONFIG_LS | ||
204 | help | ||
205 | Please submit a patch to add help text for this item. | ||
206 | |||
207 | config CONFIG_FEATURE_LS_RECURSIVE | ||
208 | bool " Enable recursion (-R)" | ||
209 | default y | ||
210 | depends on CONFIG_LS | ||
211 | help | ||
212 | Please submit a patch to add help text for this item. | ||
213 | |||
214 | config CONFIG_FEATURE_LS_SORTFILES | ||
215 | bool " Sort the file names" | ||
216 | default y | ||
217 | depends on CONFIG_LS | ||
218 | help | ||
219 | Please submit a patch to add help text for this item. | ||
220 | |||
221 | config CONFIG_FEATURE_LS_TIMESTAMPS | ||
222 | bool " Show file timestamps" | ||
223 | default y | ||
224 | depends on CONFIG_LS | ||
225 | help | ||
226 | Please submit a patch to add help text for this item. | ||
227 | |||
228 | config CONFIG_FEATURE_LS_USERNAME | ||
229 | bool " Show username/groupnames" | ||
230 | default y | ||
231 | depends on CONFIG_LS | ||
232 | help | ||
233 | Please submit a patch to add help text for this item. | ||
234 | |||
235 | config CONFIG_FEATURE_LS_COLOR | ||
236 | bool " Use color to identify file types" | ||
237 | default y | ||
238 | depends on CONFIG_LS | ||
239 | help | ||
240 | Please submit a patch to add help text for this item. | ||
241 | |||
242 | config CONFIG_MD5SUM | ||
243 | bool "md5sum" | ||
244 | default n | ||
245 | help | ||
246 | Please submit a patch to add help text for this item. | ||
247 | |||
248 | config CONFIG_MKDIR | ||
249 | bool "mkdir" | ||
250 | default n | ||
251 | help | ||
252 | Please submit a patch to add help text for this item. | ||
253 | |||
254 | config CONFIG_MKFIFO | ||
255 | bool "mkfifo" | ||
256 | default n | ||
257 | help | ||
258 | Please submit a patch to add help text for this item. | ||
259 | |||
260 | config CONFIG_MKNOD | ||
261 | bool "mknod" | ||
262 | default n | ||
263 | help | ||
264 | Please submit a patch to add help text for this item. | ||
265 | |||
266 | config CONFIG_MV | ||
267 | bool "mv" | ||
268 | default n | ||
269 | help | ||
270 | Please submit a patch to add help text for this item. | ||
271 | |||
272 | config CONFIG_OD | ||
273 | bool "od" | ||
274 | default n | ||
275 | help | ||
276 | Please submit a patch to add help text for this item. | ||
277 | |||
278 | config CONFIG_PRINTF | ||
279 | bool "printf" | ||
280 | default n | ||
281 | help | ||
282 | Please submit a patch to add help text for this item. | ||
283 | |||
284 | config CONFIG_PWD | ||
285 | bool "pwd" | ||
286 | default n | ||
287 | help | ||
288 | Please submit a patch to add help text for this item. | ||
289 | |||
290 | config CONFIG_REALPATH | ||
291 | bool "realpath" | ||
292 | default n | ||
293 | help | ||
294 | Return the canonicalized absolute pathname. | ||
295 | This isnt provided by GNU shellutils, but where else does it belong. | ||
296 | |||
297 | config CONFIG_RM | ||
298 | bool "rm" | ||
299 | default n | ||
300 | help | ||
301 | Please submit a patch to add help text for this item. | ||
302 | |||
303 | config CONFIG_RMDIR | ||
304 | bool "rmdir" | ||
305 | default n | ||
306 | help | ||
307 | Please submit a patch to add help text for this item. | ||
308 | |||
309 | config CONFIG_SLEEP | ||
310 | bool "sleep" | ||
311 | default n | ||
312 | help | ||
313 | Please submit a patch to add help text for this item. | ||
314 | |||
315 | config CONFIG_SORT | ||
316 | bool "sort" | ||
317 | default n | ||
318 | help | ||
319 | Please submit a patch to add help text for this item. | ||
320 | |||
321 | config CONFIG_FEATURE_SORT_REVERSE | ||
322 | bool " Enable reverse sort" | ||
323 | default y | ||
324 | depends on CONFIG_SORT | ||
325 | help | ||
326 | Please submit a patch to add help text for this item. | ||
327 | |||
328 | config CONFIG_FEATURE_SORT_UNIQUE | ||
329 | bool " Enable unique sort" | ||
330 | default y | ||
331 | depends on CONFIG_SORT | ||
332 | help | ||
333 | Please submit a patch to add help text for this item. | ||
334 | |||
335 | config CONFIG_STTY | ||
336 | bool "stty" | ||
337 | default n | ||
338 | help | ||
339 | Please submit a patch to add help text for this item. | ||
340 | |||
341 | config CONFIG_SYNC | ||
342 | bool "sync" | ||
343 | default n | ||
344 | help | ||
345 | Please submit a patch to add help text for this item. | ||
346 | |||
347 | config CONFIG_TAIL | ||
348 | bool "tail" | ||
349 | default n | ||
350 | help | ||
351 | Please submit a patch to add help text for this item. | ||
352 | |||
353 | config CONFIG_FEATURE_FANCY_TAIL | ||
354 | bool " Enable extra tail options (-c, -q, -s, and -v)" | ||
355 | default y | ||
356 | depends on CONFIG_TAIL | ||
357 | help | ||
358 | Please submit a patch to add help text for this item. | ||
359 | |||
360 | config CONFIG_TEE | ||
361 | bool "tee" | ||
362 | default n | ||
363 | help | ||
364 | Please submit a patch to add help text for this item. | ||
365 | |||
366 | if CONFIG_ASH || CONFIG_HUSH || CONFIG_LASH || CONFIG_MSH | ||
367 | config CONFIG_TEST | ||
368 | default y | ||
369 | comment "test (forced enabled for use with shell)" | ||
370 | endif | ||
371 | |||
372 | if !CONFIG_ASH && !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH | ||
373 | config CONFIG_TEST | ||
374 | bool "test" | ||
375 | default n | ||
376 | help | ||
377 | Please submit a patch to add help text for this item. | ||
378 | endif | ||
379 | |||
380 | config CONFIG_TOUCH | ||
381 | bool "touch" | ||
382 | default n | ||
383 | help | ||
384 | Please submit a patch to add help text for this item. | ||
385 | |||
386 | config CONFIG_TR | ||
387 | bool "tr" | ||
388 | default n | ||
389 | help | ||
390 | Please submit a patch to add help text for this item. | ||
391 | |||
392 | if CONFIG_HUSH || CONFIG_LASH || CONFIG_MSH | ||
393 | config CONFIG_TRUE | ||
394 | default y | ||
395 | comment "true (forced enabled for use with shell)" | ||
396 | endif | ||
397 | |||
398 | if !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH | ||
399 | config CONFIG_TRUE | ||
400 | bool "true" | ||
401 | default n | ||
402 | help | ||
403 | Please submit a patch to add help text for this item. | ||
404 | endif | ||
405 | |||
406 | config CONFIG_TTY | ||
407 | bool "tty" | ||
408 | default n | ||
409 | help | ||
410 | Please submit a patch to add help text for this item. | ||
411 | |||
412 | config CONFIG_UNAME | ||
413 | bool "uname" | ||
414 | default n | ||
415 | help | ||
416 | Please submit a patch to add help text for this item. | ||
417 | |||
418 | config CONFIG_UNIQ | ||
419 | bool "uniq" | ||
420 | default n | ||
421 | help | ||
422 | Please submit a patch to add help text for this item. | ||
423 | |||
424 | config CONFIG_USLEEP | ||
425 | bool "usleep" | ||
426 | default n | ||
427 | help | ||
428 | Please submit a patch to add help text for this item. | ||
429 | |||
430 | config CONFIG_UUDECODE | ||
431 | bool "uudecode" | ||
432 | default n | ||
433 | help | ||
434 | Please submit a patch to add help text for this item. | ||
435 | |||
436 | config CONFIG_UUENCODE | ||
437 | bool "uuencode" | ||
438 | default n | ||
439 | help | ||
440 | Please submit a patch to add help text for this item. | ||
441 | |||
442 | config CONFIG_WATCH | ||
443 | bool "watch" | ||
444 | default n | ||
445 | help | ||
446 | Please submit a patch to add help text for this item. | ||
447 | |||
448 | config CONFIG_WC | ||
449 | bool "wc" | ||
450 | default n | ||
451 | help | ||
452 | Please submit a patch to add help text for this item. | ||
453 | |||
454 | config CONFIG_WHO | ||
455 | bool "who" | ||
456 | default n | ||
457 | help | ||
458 | Please submit a patch to add help text for this item. | ||
459 | |||
460 | config CONFIG_WHOAMI | ||
461 | bool "whoami" | ||
462 | default n | ||
463 | help | ||
464 | Please submit a patch to add help text for this item. | ||
465 | |||
466 | config CONFIG_YES | ||
467 | bool "yes" | ||
468 | default n | ||
469 | help | ||
470 | Please submit a patch to add help text for this item. | ||
471 | |||
472 | |||
473 | comment "Common options for cp and mv" | ||
474 | depends on CONFIG_CP || CONFIG_MV | ||
475 | |||
476 | config CONFIG_FEATURE_PRESERVE_HARDLINKS | ||
477 | bool " Preserve hard links" | ||
478 | default n | ||
479 | depends on CONFIG_CP || CONFIG_MV | ||
480 | help | ||
481 | Please submit a patch to add help text for this item. | ||
482 | |||
483 | comment "Common options for ls and more" | ||
484 | depends on CONFIG_LS || CONFIG_MORE | ||
485 | |||
486 | config CONFIG_FEATURE_AUTOWIDTH | ||
487 | bool " Calculate terminal & column widths" | ||
488 | default n | ||
489 | depends on CONFIG_LS || CONFIG_MORE | ||
490 | help | ||
491 | Please submit a patch to add help text for this item. | ||
492 | |||
493 | |||
494 | comment "Common options for df, du, ls" | ||
495 | depends on CONFIG_DF || CONFIG_DU || CONFIG_LS | ||
496 | |||
497 | config CONFIG_FEATURE_HUMAN_READABLE | ||
498 | bool " Support for human readable output (example 13k, 23M, 235G)" | ||
499 | default n | ||
500 | depends on CONFIG_DF || CONFIG_DU || CONFIG_LS | ||
501 | help | ||
502 | Please submit a patch to add help text for this item. | ||
503 | |||
504 | endmenu | ||
diff --git a/coreutils/Makefile b/coreutils/Makefile new file mode 100644 index 000000000..2228c26e8 --- /dev/null +++ b/coreutils/Makefile | |||
@@ -0,0 +1,30 @@ | |||
1 | # Makefile for busybox | ||
2 | # | ||
3 | # Copyright (C) 1999-2002 Erik Andersen <andersee@debian.org> | ||
4 | # | ||
5 | # This program is free software; you can redistribute it and/or modify | ||
6 | # it under the terms of the GNU General Public License as published by | ||
7 | # the Free Software Foundation; either version 2 of the License, or | ||
8 | # (at your option) any later version. | ||
9 | # | ||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | # General Public License for more details. | ||
14 | # | ||
15 | # You should have received a copy of the GNU General Public License | ||
16 | # along with this program; if not, write to the Free Software | ||
17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
18 | # | ||
19 | |||
20 | TOPDIR:= ../ | ||
21 | SHELLUTILS_DIR:=./ | ||
22 | include $(TOPDIR).config | ||
23 | include $(TOPDIR)Rules.mak | ||
24 | include Makefile.in | ||
25 | all: $(libraries-y) | ||
26 | -include $(TOPDIR).depend | ||
27 | |||
28 | clean: | ||
29 | rm -f *.o *.a $(AR_TARGET) | ||
30 | |||
diff --git a/coreutils/Makefile.in b/coreutils/Makefile.in new file mode 100644 index 000000000..78ee307ec --- /dev/null +++ b/coreutils/Makefile.in | |||
@@ -0,0 +1,90 @@ | |||
1 | # Makefile for busybox | ||
2 | # | ||
3 | # Copyright (C) 1999-2002 Erik Andersen <andersee@debian.org> | ||
4 | # | ||
5 | # This program is free software; you can redistribute it and/or modify | ||
6 | # it under the terms of the GNU General Public License as published by | ||
7 | # the Free Software Foundation; either version 2 of the License, or | ||
8 | # (at your option) any later version. | ||
9 | # | ||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | # General Public License for more details. | ||
14 | # | ||
15 | # You should have received a copy of the GNU General Public License | ||
16 | # along with this program; if not, write to the Free Software | ||
17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
18 | # | ||
19 | |||
20 | COREUTILS_AR:=coreutils.a | ||
21 | ifndef $(COREUTILS_DIR) | ||
22 | COREUTILS_DIR:=$(TOPDIR)coreutils/ | ||
23 | endif | ||
24 | |||
25 | COREUTILS-y:= | ||
26 | COREUTILS-$(CONFIG_BASENAME) += basename.o | ||
27 | COREUTILS-$(CONFIG_CAL) += cal.o | ||
28 | COREUTILS-$(CONFIG_CAT) += cat.o | ||
29 | COREUTILS-$(CONFIG_CHGRP) += chgrp.o | ||
30 | COREUTILS-$(CONFIG_CHMOD) += chmod.o | ||
31 | COREUTILS-$(CONFIG_CHOWN) += chown.o | ||
32 | COREUTILS-$(CONFIG_CHROOT) += chroot.o | ||
33 | COREUTILS-$(CONFIG_CMP) += cmp.o | ||
34 | COREUTILS-$(CONFIG_CP) += cp.o | ||
35 | COREUTILS-$(CONFIG_CUT) += cut.o | ||
36 | COREUTILS-$(CONFIG_DATE) += date.o | ||
37 | COREUTILS-$(CONFIG_DD) += dd.o | ||
38 | COREUTILS-$(CONFIG_DF) += df.o | ||
39 | COREUTILS-$(CONFIG_DIRNAME) += dirname.o | ||
40 | COREUTILS-$(CONFIG_DOS2UNIX) += dos2unix.o | ||
41 | COREUTILS-$(CONFIG_DU) += du.o | ||
42 | COREUTILS-$(CONFIG_ECHO) += echo.o | ||
43 | COREUTILS-$(CONFIG_ENV) += env.o | ||
44 | COREUTILS-$(CONFIG_EXPR) += expr.o | ||
45 | COREUTILS-$(CONFIG_FALSE) += false.o | ||
46 | COREUTILS-$(CONFIG_HEAD) += head.o | ||
47 | COREUTILS-$(CONFIG_HOSTID) += hostid.o | ||
48 | COREUTILS-$(CONFIG_ID) += id.o | ||
49 | COREUTILS-$(CONFIG_LENGTH) += length.o | ||
50 | COREUTILS-$(CONFIG_LN) += ln.o | ||
51 | COREUTILS-$(CONFIG_LOGNAME) += logname.o | ||
52 | COREUTILS-$(CONFIG_LS) += ls.o | ||
53 | COREUTILS-$(CONFIG_MD5SUM) += md5sum.o | ||
54 | COREUTILS-$(CONFIG_MKDIR) += mkdir.o | ||
55 | COREUTILS-$(CONFIG_MKFIFO) += mkfifo.o | ||
56 | COREUTILS-$(CONFIG_MKNOD) += mknod.o | ||
57 | COREUTILS-$(CONFIG_MV) += mv.o | ||
58 | COREUTILS-$(CONFIG_OD) += od.o | ||
59 | COREUTILS-$(CONFIG_PRINTF) += printf.o | ||
60 | COREUTILS-$(CONFIG_PWD) += pwd.o | ||
61 | COREUTILS-$(CONFIG_REALPATH) += realpath.o | ||
62 | COREUTILS-$(CONFIG_RM) += rm.o | ||
63 | COREUTILS-$(CONFIG_RMDIR) += rmdir.o | ||
64 | COREUTILS-$(CONFIG_SLEEP) += sleep.o | ||
65 | COREUTILS-$(CONFIG_SORT) += sort.o | ||
66 | COREUTILS-$(CONFIG_STTY) += stty.o | ||
67 | COREUTILS-$(CONFIG_SYNC) += sync.o | ||
68 | COREUTILS-$(CONFIG_TAIL) += tail.o | ||
69 | COREUTILS-$(CONFIG_TEE) += tee.o | ||
70 | COREUTILS-$(CONFIG_TEST) += test.o | ||
71 | COREUTILS-$(CONFIG_TOUCH) += touch.o | ||
72 | COREUTILS-$(CONFIG_TR) += tr.o | ||
73 | COREUTILS-$(CONFIG_TRUE) += true.o | ||
74 | COREUTILS-$(CONFIG_TTY) += tty.o | ||
75 | COREUTILS-$(CONFIG_UNAME) += uname.o | ||
76 | COREUTILS-$(CONFIG_UNIQ) += uniq.o | ||
77 | COREUTILS-$(CONFIG_USLEEP) += usleep.o | ||
78 | COREUTILS-$(CONFIG_UUDECODE) += uudecode.o | ||
79 | COREUTILS-$(CONFIG_UUENCODE) += uuencode.o | ||
80 | COREUTILS-$(CONFIG_WATCH) += watch.o | ||
81 | COREUTILS-$(CONFIG_WC) += wc.o | ||
82 | COREUTILS-$(CONFIG_WHO) += who.o | ||
83 | COREUTILS-$(CONFIG_WHOAMI) += whoami.o | ||
84 | COREUTILS-$(CONFIG_YES) += yes.o | ||
85 | |||
86 | libraries-y+=$(COREUTILS_DIR)$(COREUTILS_AR) | ||
87 | |||
88 | $(COREUTILS_DIR)$(COREUTILS_AR): $(patsubst %,$(COREUTILS_DIR)%, $(COREUTILS-y)) | ||
89 | $(AR) -ro $@ $(patsubst %,$(COREUTILS_DIR)%, $(COREUTILS-y)) | ||
90 | |||