Contents of /tags/mkinitrd-6_1_12/busybox/applets/Kbuild
Parent Directory | Revision Log
Revision 939 -
(show annotations)
(download)
Tue Nov 17 21:24:51 2009 UTC (14 years, 10 months ago) by niro
File size: 1022 byte(s)
Tue Nov 17 21:24:51 2009 UTC (14 years, 10 months ago) by niro
File size: 1022 byte(s)
tagged 'mkinitrd-6_1_12'
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 | obj-y := |
8 | obj-y += applets.o |
9 | |
10 | hostprogs-y:= |
11 | hostprogs-y += usage applet_tables |
12 | |
13 | always:= $(hostprogs-y) |
14 | |
15 | # Generated files need additional love |
16 | |
17 | HOSTCFLAGS_usage.o = -I$(srctree)/include |
18 | |
19 | 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 | 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 | |
27 | include/usage_compressed.h: applets/usage $(srctree)/applets/usage_compressed |
28 | $(call cmd,gen_usage_compressed) |
29 | |
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) |