Skip to content

Commit

Permalink
Use sdobjcopy instead of objcopy
Browse files Browse the repository at this point in the history
  • Loading branch information
ckormanyos committed Jul 8, 2024
1 parent 66bf60e commit 8ab4ac4
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ti84-ref_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ jobs:
run: |
cd build
sdcc -v
make TYP_OS=UNIX all TYP_OBJCOPY=gobjcopy
make TYP_OS=UNIX all
echo 'build-and-verify-refapp partial verify result'
ls -la ../bin/refapp.8xp
2 changes: 1 addition & 1 deletion bin/refapp.asm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;--------------------------------------------------------
; File Created by SDCC : free open source ISO C Compiler
; Version 4.4.0 #14620 (MINGW32)
; Version 4.4.0 #14620 (MINGW64)
;--------------------------------------------------------
.module app_main
.optsdcc -mz80
Expand Down
2 changes: 1 addition & 1 deletion bin/refapp.lk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-i C:/Users/ckorm/Documents/Ks/uC_Software/Boards/ti84-ref_app/build/../bin/refapp.ihx
-b _CODE = 0x9d9b
-b _DATA = 0x0000
-k C:\Program Files (x86)\SDCC\bin\..\lib\z80
-k C:\Program Files\SDCC\bin\..\lib\z80
-l z80
C:/Users/ckorm/Documents/Ks/uC_Software/Boards/ti84-ref_app/build/../bin/refapp.rel
C:/Users/ckorm/Documents/Ks/uC_Software/Boards/ti84-ref_app/build/obj/app_hello.rel
Expand Down
2 changes: 1 addition & 1 deletion bin/refapp.lst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1 ;--------------------------------------------------------
2 ; File Created by SDCC : free open source ISO C Compiler
3 ; Version 4.4.0 #14620 (MINGW32)
3 ; Version 4.4.0 #14620 (MINGW64)
4 ;--------------------------------------------------------
5 .module app_main
6 .optsdcc -mz80
Expand Down
6 changes: 1 addition & 5 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,7 @@ CP := $(TOOL_PREFIX)cp$(EXEEXT)
ECHO := $(TOOL_PREFIX)echo$(EXEEXT)
MKDIR := $(TOOL_PREFIX)mkdir$(EXEEXT)
MV := $(TOOL_PREFIX)mv$(EXEEXT)
ifeq ($(TYP_OBJCOPY),)
OBJCOPY := $(TOOL_PREFIX)objcopy$(EXEEXT)
else
OBJCOPY := $(TYP_OBJCOPY)
endif
OBJCOPY := sdobjcopy$(EXEEXT)
PYTHON := python$(EXEEXT)
RM := $(TOOL_PREFIX)rm$(EXEEXT)

Expand Down
Binary file removed build/tools/UnxUtils/usr/local/wbin/objcopy.exe
Binary file not shown.
1 change: 0 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,4 @@ from this.

- The source code written for this repo (in the [`src`](./src)) directory is licensed under [_The_ _Unlicense_](./LICENSE).
- `Win*`-ported `*nix` tools in [`wbin`](./build/tools/UnxUtils/usr/local/wbin) originate from [UnxTools](https://sourceforge.net/projects/unxutils) and include their own [distribution statements](./build/tools/UnxUtils).
- The `Win*`-ported `objcopy.exe` originates from Steven T. Lavavej's [`MinGW Distro`](https://nuwen.net/mingw.html).
- The `Win*`-ported GNUmake is taken from [`ckormanyos/make-4.2.1-msvc-build`](https://github.com/ckormanyos/make-4.2.1-msvc-build).

0 comments on commit 8ab4ac4

Please sign in to comment.