tests: Use COMPILE.S for assembing test object

Currently, ASFLAGS is not used, as we call $(AS) directly. Use
$(COMPILE.S) instead.

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
This commit is contained in:
Jeremy Kerr 2012-06-13 16:23:00 +08:00
parent 2added6a45
commit 1be14f0c9b

View file

@ -27,7 +27,7 @@ test.elf: test.$(OBJEXT) $(test_lds)
test.$(OBJEXT): ASFLAGS = -m64
test.$(OBJEXT): $(srcdir)/test.S
$(AS) -o $@ $^
$(COMPILE.S) -o $@ $^
$(test_key): Makefile
openssl genrsa -out $@ 2048