diff options
author | Mike Frysinger | 2006-05-10 18:12:16 +0000 |
---|---|---|
committer | Mike Frysinger | 2006-05-10 18:12:16 +0000 |
commit | 6143c0719befdac69e43d878d912e6abf5cce378 (patch) | |
tree | bb04db69d96fa41119049e1b028be65b8a305ce9 | |
parent | 094b9f7e1d3638006273adfeba5ceeb65cb7aeac (diff) | |
download | busybox-6143c0719befdac69e43d878d912e6abf5cce378.zip busybox-6143c0719befdac69e43d878d912e6abf5cce378.tar.gz |
add implicit rule for %.a to help debugging in subdirs
-rw-r--r-- | Rules.mak | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -353,4 +353,12 @@ do_elf2flt = @$(disp_elf2flt) ; $(cmd_elf2flt) %.o: %.c $(compile.c) +uppercase = $(shell echo $1 | tr '[:lower:]' '[:upper:]') +%.a: + @if test -z "$($(call uppercase,$*)_DIR)" ; then \ + echo "Invalid target $@" ; \ + exit 1 ; \ + fi + $(Q)$(MAKE) $($(call uppercase,$*)_DIR)$@ + .PHONY: dummy |