gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit ef66f382063c4f9da40f18f0fafb27091c48055f parent 351b38ca95fa61170c700fa0153f7efaf19aacf7 Author: bbbbbr <bbbbbr@users.noreply.github.com> Date: Sat, 5 Apr 2025 03:56:21 -0700 Merge pull request #758 from bbbbbr/build/no_empty_crt_lst_in_output Build: Remove creation of empty crt0.lst files in build output Diffstat:
| M | Makefile | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -251,11 +251,14 @@ gbdk-lib-install-ports: gbdk-lib-build # The inner loop copies global.s for platforms from relevant port/platform. # When doing that it expects a given platform to never be present in # multiple ports since the copy destination is not port specific (lacks /$$port/ ) +# +# 'touch' of empty crt0.lst was removed so .rst files do not get generated +# in the gbdk install lib folders when people build projects with -debug on. +# It caused problems when the user lacked write permissions to the gbdk install folder. gbdk-lib-install-platforms: @for plat in $(PLATFORMS); do \ echo Installing lib for platform: $$plat; \ mkdir -p $(BUILDDIR)/lib/$$plat; \ - touch $(BUILDDIR)/lib/$$plat/crt0.lst; \ cp $(GBDKLIBDIR)/build/$$plat/crt0.o $(BUILDDIR)/lib/$$plat/crt0.o; \ cp $(GBDKLIBDIR)/build/$$plat/$$plat.lib $(BUILDDIR)/lib/$$plat/$$plat.lib; \ for port in $(PORTS); do \
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.