From 4df4e94a7cac4053de2e75720c4a95f6ccb7b101 Mon Sep 17 00:00:00 2001 From: George Sokianos Date: Thu, 18 Jan 2024 11:43:23 +0000 Subject: [PATCH] Makefile cleanup of obsolete parts --- .dockerignore | 1 - Makefile | 18 +----------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/.dockerignore b/.dockerignore index e0feeab..46f1db1 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,2 @@ -files native-gcc .repos \ No newline at end of file diff --git a/Makefile b/Makefile index 7e60820..1c119d7 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -GCC ?= 8 # 8,9,10,11 can be used here +GCC ?= 11 # 8,9,10,11 can be used here CLIB2REPO ?= adtools # or use afxgroup CLIB2TAG := @@ -31,8 +31,6 @@ help: @echo "compile [GCC=x] - Create a container with the latest Docker image and get" @echo " into it to compile adtools with GCC 8 (default) or the" @echo " defined one by GCC argument. Possible values 6/8/9/10/11." - @echo "clonerepos - Clone the necessary repositories under repos folder." - @echo "pullrepos - Pull the latest code for the projects under repos folder." @echo "clean - Remove the docker container, if this still exists." @echo "" @echo "Since the SDK 53.34 is used, there is a need of the latest ExecSG private SDK" @@ -56,21 +54,7 @@ shell: compile: docker run -it --rm --name $(NAME)-$(GCC) $(WORKSPACE) \ -v "${PWD}/native-gcc/$(GCC)":/gcc \ - -v "${PWD}/files/native-build/makefile-SDK53.34":/opt/adtools/native-build/makefile \ - -v "${PWD}/files/gcc-build":/opt/adtools/gcc-build \ --env-file .env$(GCC) $(REPO):$(TAG) /bin/bash -clonerepos: - git clone https://github.com/sba1/adtools $(REPOSPATH)/adtools - git clone https://github.com/bminor/binutils-gdb $(REPOSPATH)/binutils-gdb - git clone https://github.com/coreutils/coreutils $(REPOSPATH)/coreutils - git clone https://github.com/coreutils/gnulib $(REPOSPATH)/gnulib - -pullrepos: - git -C $(REPOSPATH)/adtools pull - git -C $(REPOSPATH)/binutils-gdb pull - git -C $(REPOSPATH)/coreutils pull - git -C $(REPOSPATH)/gnulib pull - clean: -docker rm -f $(NAME)