small cleanup

This commit is contained in:
FeralChild64 committed 2020-10-23 16:59:36 +02:00
1 parent a2f1cfdc87
commit f2b7abfdb9
3 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@
;; #CONFIG# PLATFORM_COMMODORE_64 YES
;; #CONFIG# ROM_CRT YES
;; #CONFIG# BRAND_GENERIC_CRT YES
;; #CONFIG# BRAND_GENERIC YES
; --- Processor instruction set
+4 -6
View File
@@ -39,7 +39,6 @@
!set counter = 0
!ifdef CONFIG_BRAND_CUSTOM { !set counter = counter + 1 }
!ifdef CONFIG_BRAND_GENERIC { !set counter = counter + 1 }
!ifdef CONFIG_BRAND_GENERIC_CRT { !set counter = counter + 1 }
!ifdef CONFIG_BRAND_TESTING { !set counter = counter + 1 }
!ifndef CONFIG_PLATFORM_COMMODORE_64 {
@@ -52,15 +51,14 @@
!error "Please select exactly one CONFIG_BRAND_* option"
}
!ifdef CONFIG_BRAND_GENERIC_CRT { !ifndef ROM_LAYOUT_CRT {
!error "CONFIG_BRAND_GENERIC_CRT needs cartridge extended ROM set and vice-versa"
!ifdef CONFIG_ROM_CRT { !ifndef ROM_LAYOUT_CRT {
!error "ROM_LAYOUT_CRT needs standard CONFIG_ROM_CRT set and vice-versa"
}}
!ifdef CONFIG_BRAND_GENERIC { !ifndef ROM_LAYOUT_STD {
!error "CONFIG_BRAND_GENERIC needs standard ROM set and vice-versa"
!ifdef ROM_LAYOUT_CRT { !ifndef CONFIG_ROM_CRT {
!error "ROM_LAYOUT_CRT needs standard CONFIG_ROM_CRT set and vice-versa"
}}
; Check that processor configuration is correct
!set counter = 0
+5 -3
View File
@@ -14,9 +14,11 @@
!pet "open roms "
+CONFIG_BRAND_CUSTOM
} else ifdef CONFIG_BRAND_GENERIC {
!pet "open roms generic build"
} else ifdef CONFIG_BRAND_GENERIC_CRT {
!pet "open roms crt generic build"
!ifdef CONFIG_ROM_CRT {
!pet "open roms crt generic build"
} else {
!pet "open roms generic build"
}
} else ifdef CONFIG_BRAND_TESTING {
!pet "open roms testing build"
} else ifdef CONFIG_MB_U64 {