Annotation of /trunk/mkinitrd-magellan/busybox/applets/Kbuild
Parent Directory | Revision Log
Revision 816 -
(hide annotations)
(download)
Fri Apr 24 18:33:46 2009 UTC (15 years ago) by niro
File size: 1022 byte(s)
Fri Apr 24 18:33:46 2009 UTC (15 years ago) by niro
File size: 1022 byte(s)
-updated to busybox-1.13.4
1 | niro | 532 | # 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 | niro | 816 | obj-y := |
8 | obj-y += applets.o | ||
9 | niro | 532 | |
10 | niro | 816 | hostprogs-y:= |
11 | hostprogs-y += usage applet_tables | ||
12 | niro | 532 | |
13 | niro | 816 | always:= $(hostprogs-y) |
14 | niro | 532 | |
15 | niro | 816 | # Generated files need additional love |
16 | |||
17 | niro | 532 | HOSTCFLAGS_usage.o = -I$(srctree)/include |
18 | |||
19 | niro | 816 | applets/applets.o: include/usage_compressed.h include/applet_tables.h |
20 | |||
21 | applets/usage: .config $(srctree)/applets/usage_compressed | ||
22 | applets/applet_tables: .config | ||
23 | |||
24 | niro | 532 | quiet_cmd_gen_usage_compressed = GEN include/usage_compressed.h |
25 | cmd_gen_usage_compressed = $(srctree)/applets/usage_compressed include/usage_compressed.h applets | ||
26 | niro | 816 | |
27 | include/usage_compressed.h: applets/usage $(srctree)/applets/usage_compressed | ||
28 | niro | 532 | $(call cmd,gen_usage_compressed) |
29 | niro | 816 | |
30 | quiet_cmd_gen_applet_tables = GEN include/applet_tables.h | ||
31 | cmd_gen_applet_tables = applets/applet_tables include/applet_tables.h | ||
32 | |||
33 | include/applet_tables.h: applets/applet_tables | ||
34 | $(call cmd,gen_applet_tables) |