Makefile cleanup of obsolete parts
This commit is contained in:
parent
15b5656b7a
commit
4df4e94a7c
|
@ -1,3 +1,2 @@
|
|||
files
|
||||
native-gcc
|
||||
.repos
|
18
Makefile
18
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)
|
||||
|
|
Loading…
Reference in New Issue