From f0cfbfadd673b56c67cb4789fa0c8e09ab9eaca4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Eric=20M=C3=BCller?= <mueller@kip.uni-heidelberg.de>
Date: Thu, 9 Jun 2022 10:55:32 +0200
Subject: [PATCH] Build: Drop v1 build targets

Depends-On: 17442, 17445, 17449
Change-Id: I7c20fbf02eac9018fdf7cec491851ccc0ae897f0
---
 tests/hw/libnux/with_hostcode/wscript | 2 +-
 tests/wscript                         | 2 +-
 wscript                               | 5 +----
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/tests/hw/libnux/with_hostcode/wscript b/tests/hw/libnux/with_hostcode/wscript
index 5ca4098..160109b 100644
--- a/tests/hw/libnux/with_hostcode/wscript
+++ b/tests/hw/libnux/with_hostcode/wscript
@@ -62,7 +62,7 @@ def build(bld):
         bld.env.TEST_TARGET = TestTarget.SOFTWARE_ONLY
         bld.env.CURRENT_SETUP = dict(chip_revision=None)
 
-    for chip_version_number in [1, 2, 3]:
+    for chip_version_number in [2, 3]:
         build_host_python(bld, chip_version_number)
         build_ppu_cpp(bld, chip_version_number)
 
diff --git a/tests/wscript b/tests/wscript
index 068f610..c21903b 100644
--- a/tests/wscript
+++ b/tests/wscript
@@ -80,7 +80,7 @@ def build(bld):
         test_timeout=120,
         )
 
-    for chip_version_number in [1, 2, 3]:
+    for chip_version_number in [2, 3]:
         env = bld.all_envs[f"nux_vx_v{chip_version_number}"]
 
         program_list = []
diff --git a/wscript b/wscript
index 613b0b7..bf8548b 100644
--- a/wscript
+++ b/wscript
@@ -98,9 +98,6 @@ def configure(conf):
     conf.setenv('nux_vx', env=conf.all_envs['nux'])
     conf.env.append_value('CXXFLAGS', '-mcpu=s2pp_hx')
 
-    # specialize for vx-v1
-    conf.setenv('nux_vx_v1', env=conf.all_envs['nux_vx'])
-
     # specialize for vx-v2
     conf.setenv('nux_vx_v2', env=conf.all_envs['nux_vx'])
 
@@ -151,7 +148,7 @@ def build(bld):
         relative_trick = True
     )
 
-    for chip_version_number in [1, 2, 3]:
+    for chip_version_number in [2, 3]:
         env = bld.all_envs[f"nux_vx_v{chip_version_number}"]
 
         bld.install_files(
-- 
GitLab