Rev | Line | |
---|
[20] | 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 |
---|
| 12 | |
---|
| 13 | always:= $(hostprogs-y) |
---|
| 14 | |
---|
| 15 | # Generated files need additional love |
---|
| 16 | |
---|
| 17 | quiet_cmd_gen_usage_compressed = GEN include/usage_compressed.h |
---|
| 18 | cmd_gen_usage_compressed = $(srctree)/applets/usage_compressed include/usage_compressed.h applets |
---|
| 19 | |
---|
| 20 | HOSTCFLAGS_usage.o = -I$(srctree)/include |
---|
| 21 | |
---|
| 22 | applets/applets.o: include/usage_compressed.h |
---|
| 23 | applets/usage: .config $(srctree)/applets/usage_compressed |
---|
| 24 | include/usage_compressed.h: applets/usage $(srctree)/applets/usage_compressed |
---|
| 25 | $(call cmd,gen_usage_compressed) |
---|
Note: See
TracBrowser
for help on using the repository browser.