Magellan Linux

Contents of /trunk/mkinitrd-magellan/busybox/applets/Kbuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 816 - (show annotations) (download)
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 # 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)