2006-10-05 15:47:08 +05:30
|
|
|
# Makefile for busybox
|
|
|
|
#
|
|
|
|
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
|
|
|
#
|
|
|
|
# Licensed under the GPL v2, see the file LICENSE in this tarball.
|
|
|
|
|
|
|
|
obj-y:=
|
|
|
|
obj-y += applets.o
|
2006-10-20 03:41:06 +05:30
|
|
|
|
|
|
|
# Generated file needs additional love
|
|
|
|
|
2007-06-13 02:25:38 +05:30
|
|
|
applets/usage: .config
|
2007-02-03 22:57:14 +05:30
|
|
|
applets/applets.o: .config include/usage_compressed.h
|
2006-10-20 03:41:06 +05:30
|
|
|
|
2006-10-20 03:42:47 +05:30
|
|
|
hostprogs-y += usage
|
|
|
|
always := $(hostprogs-y)
|
|
|
|
HOSTCFLAGS_usage.o = -I$(srctree)/include
|
|
|
|
|
2007-01-02 11:12:35 +05:30
|
|
|
quiet_cmd_gen_usage_compressed = GEN include/usage_compressed.h
|
|
|
|
cmd_gen_usage_compressed = $(srctree)/applets/usage_compressed include/usage_compressed.h applets
|
2007-02-03 22:58:39 +05:30
|
|
|
include/usage_compressed.h: .config $(srctree)/include/usage.h applets/usage
|
2007-01-02 11:12:35 +05:30
|
|
|
$(call cmd,gen_usage_compressed)
|