9
0
Fork 0
barebox/scripts/Makefile

31 lines
988 B
Makefile
Raw Normal View History

2007-07-05 16:01:13 +00:00
###
# scripts contains sources for various helper programs used throughout
# the kernel for the build process.
# ---------------------------------------------------------------------------
# kallsyms: Find all symbols in barebox
2007-07-05 16:01:13 +00:00
hostprogs-$(CONFIG_KALLSYMS) += kallsyms
2007-07-05 16:01:52 +00:00
hostprogs-y += bin2c
hostprogs-y += mkimage
hostprogs-y += bareboxenv
2007-09-05 10:58:41 +00:00
hostprogs-$(CONFIG_ARCH_NETX) += gen_netx_image
hostprogs-$(CONFIG_ARCH_OMAP) += omap_signGP
hostprogs-$(CONFIG_ARCH_S5PCxx) += s5p_cksum
2007-07-05 16:01:13 +00:00
always := $(hostprogs-y) $(hostprogs-m)
2007-10-04 10:54:56 +00:00
subdir-y += mod
2007-07-05 16:01:13 +00:00
subdir-$(CONFIG_X86) += setupmbr
2007-07-05 16:01:13 +00:00
# Let clean descend into subdirs
subdir- += basic kconfig setupmbr
quiet_cmd_csingle = CC $@
cmd_csingle = $(CC) -Wp,-MD,$(depfile) $(CFLAGS) -o $@ $<
obj-$(CONFIG_BAREBOXENV_TARGET) += bareboxenv-target
scripts/bareboxenv-target: scripts/bareboxenv.c FORCE
$(call if_changed_dep,csingle)