aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/codegen/lib/Makefile
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2014-05-09 15:55:47 +1000
committerBen Skeggs <[email protected]>2014-05-15 09:54:12 +1000
commit0079a375a58b288caacc2721f5a34b8f1233e7d1 (patch)
tree4d7b244b3cb826e9cbccf090fe549fea51351736 /src/gallium/drivers/nouveau/codegen/lib/Makefile
parent737477dac33d68b00b34019258d663945fbfeb56 (diff)
nvc0: allow for easier modification of compiler library routines
Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen/lib/Makefile')
-rw-r--r--src/gallium/drivers/nouveau/codegen/lib/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/lib/Makefile b/src/gallium/drivers/nouveau/codegen/lib/Makefile
new file mode 100644
index 00000000000..28a41a3f41e
--- /dev/null
+++ b/src/gallium/drivers/nouveau/codegen/lib/Makefile
@@ -0,0 +1,10 @@
+ENVYAS ?= envyas
+
+all: gf100.asm.h gk104.asm.h gk110.asm.h
+
+gf100.asm.h: %.asm.h: %.asm
+ $(ENVYAS) -a -W -mnvc0 -Vnvc0 $< -o $@
+gk104.asm.h: %.asm.h: %.asm
+ $(ENVYAS) -a -W -mnvc0 -Vnve4 $< -o $@
+gk110.asm.h: %.asm.h: %.asm
+ $(ENVYAS) -a -W -mgk110 $< -o $@