Add Megadrive SDK

This commit is contained in:
Bensuperpc 2021-05-17 01:20:40 +02:00
parent f37486cc8a
commit 7a42d85251
4 changed files with 24 additions and 11 deletions

3
.gitmodules vendored
View File

@ -7,3 +7,6 @@
[submodule "psn00bsdk"] [submodule "psn00bsdk"]
path = psn00bsdk path = psn00bsdk
url = https://github.com/Bensuperpc/psn00bsdk-docker.git url = https://github.com/Bensuperpc/psn00bsdk-docker.git
[submodule "sgdk"]
path = sgdk
url = https://github.com/Stephane-D/SGDK.git

View File

@ -1,6 +1,5 @@
FROM debian:stable-20210408-slim FROM debian:buster-slim
#FROM debian:stretch-20190326-slim MAINTAINER Bensuperpc "bensuperpc@gmail.com"
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
#include "common.debian" #include "common.debian"

View File

@ -24,7 +24,7 @@ EXT_GEN_IMAGES = linux-armv8-rpi4.full linux-armv8-rpi3.full linux-armv7-rpi2.fu
GEN_IMAGE_DOCKERFILES = $(addsuffix /Dockerfile,$(EXT_GEN_IMAGES)) $(addsuffix /Dockerfile,$(GEN_IMAGES)) GEN_IMAGE_DOCKERFILES = $(addsuffix /Dockerfile,$(EXT_GEN_IMAGES)) $(addsuffix /Dockerfile,$(GEN_IMAGES))
# These images are expected to have explicit rules for *both* build and testing # These images are expected to have explicit rules for *both* build and testing
NON_STANDARD_IMAGES = web-wasm manylinux2014-x64 manylinux2014-x86 manylinux2014-aarch64 pvsneslib cc65 psn00bsdk NON_STANDARD_IMAGES = web-wasm manylinux2014-x64 manylinux2014-x86 manylinux2014-aarch64 pvsneslib cc65 psn00bsdk sgdk
DOCKER_COMPOSITE_SOURCES = common.docker common.debian common.manylinux common.crosstool common.windows common-manylinux.crosstool common.dockcross common.lib common.label-and-env DOCKER_COMPOSITE_SOURCES = common.docker common.debian common.manylinux common.crosstool common.windows common-manylinux.crosstool common.dockcross common.lib common.label-and-env
@ -55,6 +55,8 @@ TAG := $(shell date '+%Y%m%d')-$(shell git rev-parse --short HEAD)
# #
images: base $(IMAGES) images: base $(IMAGES)
all: base $(IMAGES)
# #
# test: This target ensures all IMAGES are built and run the associated tests # test: This target ensures all IMAGES are built and run the associated tests
# #
@ -85,8 +87,7 @@ cc65: cc65/Dockerfile
cc65 cc65
cc65.test: cc65 cc65.test: cc65
$(DOCKER) build -t $(ORG)/cc65:latest \ echo "Not working now"
cc65
# #
# pvsneslib # pvsneslib
@ -96,8 +97,7 @@ pvsneslib: pvsneslib/Dockerfile
pvsneslib pvsneslib
pvsneslib.test: pvsneslib pvsneslib.test: pvsneslib
$(DOCKER) build -t $(ORG)/pvsneslib:latest \ echo "Not working now"
pvsneslib
# #
# psn00bsdk # psn00bsdk
@ -107,8 +107,18 @@ psn00bsdk: psn00bsdk/Dockerfile
psn00bsdk psn00bsdk
psn00bsdk.test: psn00bsdk psn00bsdk.test: psn00bsdk
$(DOCKER) build -t $(ORG)/psn00bsdk:latest \ echo "Not working now"
psn00bsdk
#
# sgdk
#
sgdk: sgdk/Dockerfile
$(DOCKER) build -t $(ORG)/sgdk:latest \
sgdk
sgdk.test: sgdk
echo "Not working now"
# docker run --rm -v $(PWD)/sgdk/sample/sonic:/src $(ORG)/sgdk
# #
# web-wasm # web-wasm
@ -263,7 +273,7 @@ $(STANDARD_IMAGES): %: %/Dockerfile base
# #
.SECONDEXPANSION: .SECONDEXPANSION:
$(addsuffix .test,$(STANDARD_IMAGES)): $$(basename $$@) $(addsuffix .test,$(STANDARD_IMAGES)): $$(basename $$@)
$(DOCKER) run $(RM) bensuperpc/$(basename $@) > $(BIN)/dockcross-$(basename $@) && chmod +x $(BIN)/dockcross-$(basename $@) $(DOCKER) run $(RM) $(ORG)/$(basename $@) > $(BIN)/dockcross-$(basename $@) && chmod +x $(BIN)/dockcross-$(basename $@)
$(BIN)/dockcross-$(basename $@) python3 test/run.py $($@_ARGS) $(BIN)/dockcross-$(basename $@) python3 test/run.py $($@_ARGS)
.SECONDEXPANSION: .SECONDEXPANSION:

1
sgdk Submodule

@ -0,0 +1 @@
Subproject commit f156c37e16393d6fadb3ca1097a1e34d222d1396