view config/Linux.mk @ 12938:b58670602d35

[POWERPC][XEN] Builtin cmdline dependency rule
Rebuild cmdline.o when the user changes the CMDLINE=X argument passed to
the make invocation. I couldn't find an example of another project that
handles this case properly, so I came up with this.
Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Hollis Blanchard <hollisb@us.ibm.com>
date Thu Oct 05 15:48:26 2006 -0500 (2006-10-05)
parents 3409c35a0b0e
children 7f9286d21706
line source
1 include $(XEN_ROOT)/config/StdGNU.mk
3 # You may use wildcards, e.g. KERNELS=*2.6*
4 KERNELS ?= linux-2.6-xen
6 XKERNELS := $(foreach kernel, $(KERNELS), \
7 $(patsubst buildconfigs/mk.%,%, \
8 $(wildcard buildconfigs/mk.$(kernel))) )