Messages in this thread | | | Date | Mon, 15 Mar 2004 18:58:52 +0100 | From | Sam Ravnborg <> | Subject | Re: [PATCH] out-of-tree builds |
| |
On Mon, Mar 15, 2004 at 01:41:02PM +0100, Geert Uytterhoeven wrote: > > Unfortunately not everything works. > > E.g. I need to build usr/ with a different (newer) binutils, so when the build > fails on assembling usr/initramfs_data.o, I used to do the following, which no > longer works: > > | tux$ PATH=/usr/bin/:$PATH make usr/ > | make: `usr/' is up to date. > | tux$ > > I guess I need a catch-all .PHONY rule, but don't know how to implement it...
Try: .PHONY: $(MAKECMDGOALS)
or eventually ifneq ($(MAKECMDGOALS),) .PHONY: $(MAKECMDGOALS) endif
The latter if an empty .PHONY is not allowed.
Sam
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |