Convert ROMALLOCATION constants into Makefile options

This commit is contained in:
Ryan Dwyer committed 2022-10-12 22:39:57 +10:00
1 parent 17583575e4
commit 46a88a3d59
3 files changed
+26 -33

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ static void copy(char *segname, uint8_t *payload, size_t len, char *constname)
if (len > allocation) {
fprintf(stderr, "The %s segment is too big after compression to fit the allocation of 0x%x.\n", segname, allocation);
fprintf(stderr, "In ld/pd.ld, increase the value of %s to 0x%x or higher.\n", constname, len);
fprintf(stderr, "In the Makefile, increase the value of %s to 0x%x or higher.\n", constname, len);
exit(1);
}