From 799b78f1591464c0199d353f70f9efaf87f0f2c9 Mon Sep 17 00:00:00 2001 From: Daniel Newbrook <dwn1c21@soton.ac.uk> Date: Tue, 3 Dec 2024 15:39:43 +0000 Subject: [PATCH] Add top level project build --- .gitlab-ci.yml | 2 -- makefile | 12 ++++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 126f099..db2d3d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,9 +31,7 @@ build-job: # This job runs in the build stage, which runs first. - git submodule foreach --recursive git submodule init - git fetch --recurse-submodules - source set_env.sh - - cd megasoc_tech - make first_time_setup - - cd .. - make run - echo "building complete." diff --git a/makefile b/makefile index fed1124..ca40059 100644 --- a/makefile +++ b/makefile @@ -120,4 +120,16 @@ gen_defs: clean_sim: @rm -rf ./simulate +make_project: + make -C ./megasoc_tech make_project + +build_ip: + make -C ./megasoc_tech build_ip + +get_flash_model: + make -C ./megasoc_tech/logical/sl_ahb_qspi get_flash_model + +first_time_setup: make_project build_ip get_flash_model + + clean: clean_sim clean_all_code \ No newline at end of file -- GitLab