Kbuild 573 B

123456789101112131415161718192021
  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. include/usage_compressed.h: $(srctree)/include/usage.h applets/usage
  15. @echo ' GEN include/usage_compressed.h'
  16. @$(srctree)/applets/usage_compressed include/usage_compressed.h applets