summaryrefslogtreecommitdiffstats
path: root/drivers/misc/habanalabs/Makefile
diff options
context:
space:
mode:
authorOhad Sharabi <osharabi@habana.ai>2022-09-15 09:19:03 +0300
committerOded Gabbay <ogabbay@kernel.org>2022-09-20 15:42:08 +0300
commit8412bb69ed789464adadf7f0906971c7be29e204 (patch)
tree2f5de80d7ce47e018a6ef48904168a117cc16251 /drivers/misc/habanalabs/Makefile
parentbb677d527e14184d89012ce332128f3767fa9925 (diff)
downloadlinux-stable-8412bb69ed789464adadf7f0906971c7be29e204.tar.gz
linux-stable-8412bb69ed789464adadf7f0906971c7be29e204.tar.bz2
linux-stable-8412bb69ed789464adadf7f0906971c7be29e204.zip
habanalabs: build ASICs from new to old
Newer ASICs code changes more often, has more chance to fail compilation. So, let's compile them first so errors in those files will fail compilation sooner. Signed-off-by: Ohad Sharabi <osharabi@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs/Makefile')
-rw-r--r--drivers/misc/habanalabs/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/habanalabs/Makefile b/drivers/misc/habanalabs/Makefile
index b35d7000c86b..a48a9e0969ed 100644
--- a/drivers/misc/habanalabs/Makefile
+++ b/drivers/misc/habanalabs/Makefile
@@ -8,13 +8,13 @@ obj-$(CONFIG_HABANA_AI) := habanalabs.o
include $(src)/common/Makefile
habanalabs-y += $(HL_COMMON_FILES)
-include $(src)/goya/Makefile
-habanalabs-y += $(HL_GOYA_FILES)
+include $(src)/gaudi2/Makefile
+habanalabs-y += $(HL_GAUDI2_FILES)
include $(src)/gaudi/Makefile
habanalabs-y += $(HL_GAUDI_FILES)
-include $(src)/gaudi2/Makefile
-habanalabs-y += $(HL_GAUDI2_FILES)
+include $(src)/goya/Makefile
+habanalabs-y += $(HL_GOYA_FILES)
habanalabs-$(CONFIG_DEBUG_FS) += common/debugfs.o