Kbuild 660 B

12345678910111213141516171819202122
  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. obj-y:=
  7. obj-y += applets.o
  8. obj-y += busybox.o
  9. # Generated file needs additional love
  10. applets/applets.o: include/usage_compressed.h
  11. hostprogs-y += usage
  12. always := $(hostprogs-y)
  13. HOSTCFLAGS_usage.o = -I$(srctree)/include
  14. quiet_cmd_gen_usage_compressed = GEN include/usage_compressed.h
  15. cmd_gen_usage_compressed = $(srctree)/applets/usage_compressed include/usage_compressed.h applets
  16. include/usage_compressed.h: $(srctree)/include/usage.h applets/usage
  17. $(call cmd,gen_usage_compressed)