summaryrefslogtreecommitdiff
path: root/kexec_test
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2007-12-13 16:18:53 +0900
committerSimon Horman <horms@verge.net.au>2007-12-19 14:50:07 +0900
commit3f871456d4d350b5abdb2b7fdcfedec5743d6db2 (patch)
tree4c2699351c73b7c7fee552574d2c469520556b74 /kexec_test
parentd0a33ac6d578f5aa5378f02d8b7aa3a6b635cae4 (diff)
downloadkexec-tools-3f871456d4d350b5abdb2b7fdcfedec5743d6db2.tar.gz
Use general _SRCS and _OBJS, rather and _C_{SRCS, OBJS} and _S_{SRCS, OBJS}
Since we use the implicit ruls for .c and .S, just colelct all sources in the one variable. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec_test')
-rw-r--r--kexec_test/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/kexec_test/Makefile b/kexec_test/Makefile
index 000f832..4a7d94c 100644
--- a/kexec_test/Makefile
+++ b/kexec_test/Makefile
@@ -2,13 +2,12 @@
# kexec_test Debugging payload to be certain the infrastructure works
#
RELOC:=0x10000
-KEXEC_TEST_S_SRCS:= kexec_test/kexec_test16.S kexec_test/kexec_test.S
-KEXEC_TEST_S_OBJS:=$(patsubst %.S, %.o, $(KEXEC_TEST_S_SRCS))
-KEXEC_TEST_S_DEPS:=$(patsubst %.S, %.d, $(KEXEC_TEST_S_SRCS))
-KEXEC_TEST_SRCS:= $(KEXEC_TEST_S_SRCS)
-KEXEC_TEST_OBJS:= $(KEXEC_TEST_S_OBJS)
-KEXEC_TEST_DEPS:= $(KEXEC_TEST_S_DEPS)
-KEXEC_TEST:=$(PKGLIBDIR)/kexec_test
+KEXEC_TEST_SRCS:= kexec_test/kexec_test16.S kexec_test/kexec_test.S
+
+KEXEC_TEST_OBJS = $(call objify, $(KEXEC_TEST_SRCS))
+KEXEC_TEST_DEPS = $(call depify, $(KEXEC_TEST_OBJS))
+
+KEXEC_TEST = $(PKGLIBDIR)/kexec_test
-include $(KEXEC_TEST_DEPS)