more kernel elf loader hacking.
[newos.git] / macros.mk
blob6c33591d2b0331c78bb0d01b163df7fa1b27fa52
2 # prepends the BUILD_DIR var to each item in the list
3 TOBUILDDIR = $(addprefix $(BUILD_DIR)/,$(1))
5 # sees if the target is in the list
6 FINDINLIST = $(if $(findstring $(1),$(2)),1,0)