source: branches/2.2.9/mindi-busybox/applets/Kbuild @ 2725

Last change on this file since 2725 was 2725, checked in by bruno, 8 years ago
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
File size: 1.4 KB
Line 
1# DO NOT EDIT. This file is generated from Kbuild.src
2# Makefile for busybox
3#
4# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
5#
6# Licensed under GPLv2, see file LICENSE in this source tree.
7
8obj-y :=
9obj-y += applets.o
10
11hostprogs-y:=
12hostprogs-y += usage usage_pod applet_tables
13
14always:= $(hostprogs-y)
15
16# Generated files need additional love
17
18# This trick decreases amount of rebuilds
19# if tree is merely renamed/copied
20ifeq ($(srctree),$(objtree))
21srctree_slash =
22else
23srctree_slash = $(srctree)/
24endif
25
26HOSTCFLAGS_usage.o = -I$(srctree_slash)include -Iinclude
27HOSTCFLAGS_usage_pod.o = -I$(srctree_slash)include -Iinclude
28
29applets/applets.o: include/usage_compressed.h include/applet_tables.h
30
31applets/applet_tables: .config include/applets.h
32applets/usage:         .config include/applets.h
33applets/usage_pod:     .config include/applet_tables.h include/applets.h
34
35quiet_cmd_gen_usage_compressed = GEN     include/usage_compressed.h
36      cmd_gen_usage_compressed = $(srctree_slash)applets/usage_compressed include/usage_compressed.h applets
37
38include/usage_compressed.h: applets/usage $(srctree_slash)applets/usage_compressed
39    $(call cmd,gen_usage_compressed)
40
41quiet_cmd_gen_applet_tables = GEN     include/applet_tables.h
42      cmd_gen_applet_tables = applets/applet_tables include/applet_tables.h include/NUM_APPLETS.h
43
44include/applet_tables.h: applets/applet_tables
45    $(call cmd,gen_applet_tables)
Note: See TracBrowser for help on using the repository browser.