rename bin/Generated Code to bin/generated_code

This commit is contained in:
nakst 2021-12-17 13:51:42 +00:00
parent e89c0e84d7
commit 0f1afeb252
7 changed files with 12 additions and 12 deletions

View File

@ -41,7 +41,7 @@
#include <shared/common.cpp>
struct EnumString { const char *cName; int value; };
#include <bin/Generated Code/enum_strings_array.h>
#include <bin/generated_code/enum_strings_array.h>
#define DESKTOP_MSG_SET_TITLE (1)
#define DESKTOP_MSG_SET_ICON (2)
@ -264,7 +264,7 @@ struct APIInstance {
#ifndef NO_API_TABLE
const void *const apiTable[] = {
#include <bin/Generated Code/api_array.h>
#include <bin/generated_code/api_array.h>
};
#endif

View File

@ -533,7 +533,7 @@ void KDeviceCloseHandle(KDevice *device); // The device creator is responsible f
void KDeviceRemoved(KDevice *device); // Call when a child device is removed. Must be called only once!
void KDeviceSendConnectedMessage(KDevice *device, EsDeviceType type); // Send a message to Desktop to inform it the device was connected.
#include <bin/Generated Code/kernel_config.h>
#include <bin/generated_code/kernel_config.h>
struct KClockDevice : KDevice {
EsError (*read)(KClockDevice *device, EsDateComponents *components, uint64_t *linearMs);

View File

@ -15,7 +15,7 @@ struct ExportedKernelFunction {
};
const ExportedKernelFunction exportedKernelFunctions[] = {
#include <bin/Generated Code/kernel_symbols.h>
#include <bin/generated_code/kernel_symbols.h>
};
static uintptr_t linkOffset;

View File

@ -1725,7 +1725,7 @@ SYSCALL_IMPLEMENT(ES_SYSCALL_DEBUG_COMMAND) {
}
const SyscallFunction syscallFunctions[ES_SYSCALL_COUNT + 1] {
#include <bin/Generated Code/syscall_array.h>
#include <bin/generated_code/syscall_array.h>
};
#pragma GCC diagnostic pop

View File

@ -4,7 +4,7 @@
cd "$(dirname "$0")"
# Create the bin directories.
mkdir -p bin bin/Dependency\ Files bin/Logs bin/Generated\ Code bin/cache
mkdir -p bin bin/Dependency\ Files bin/Logs bin/generated_code bin/cache
# Check that we are running on a sensible platform.
uname -o | grep Cygwin > /dev/null

View File

@ -950,7 +950,7 @@ void ParseKernelConfiguration() {
size_t kernelConfigBytes;
char *kernelConfig = (char *) LoadFile("kernel/config.ini", &kernelConfigBytes);
File f = FileOpen("bin/Generated Code/kernel_config.h", 'w');
File f = FileOpen("bin/generated_code/kernel_config.h", 'w');
EsINIState s = {};
s.buffer = (char *) kernelConfig;
@ -1057,7 +1057,7 @@ void LinkKernel() {
if (_Execute(&output, toolchainNM, "bin/Object Files/kernel_all.o", NULL, NULL)) {
return;
} else {
File f = FileOpen("bin/Generated Code/kernel_symbols.h", 'w');
File f = FileOpen("bin/generated_code/kernel_symbols.h", 'w');
uintptr_t lineStart = 0, position = 0;
while (position < arrlenu(output)) {
@ -1509,7 +1509,7 @@ int main(int argc, char **argv) {
MakeDirectory("bin/Dependency Files");
MakeDirectory("bin/Object Files");
MakeDirectory("bin/Stripped Executables");
MakeDirectory("bin/Generated Code");
MakeDirectory("bin/generated_code");
if (systemBuild) {
MakeDirectory("root");

View File

@ -5,9 +5,9 @@ char *buffer;
int position;
#define DEST_OS "root/Applications/POSIX/include/essence.h"
#define DEST_API_ARRAY "bin/Generated Code/api_array.h"
#define DEST_SYSCALL_ARRAY "bin/Generated Code/syscall_array.h"
#define DEST_ENUM_STRINGS_ARRAY "bin/Generated Code/enum_strings_array.h"
#define DEST_API_ARRAY "bin/generated_code/api_array.h"
#define DEST_SYSCALL_ARRAY "bin/generated_code/syscall_array.h"
#define DEST_ENUM_STRINGS_ARRAY "bin/generated_code/enum_strings_array.h"
#define DEST_DEPENDENCIES "bin/Dependency Files/api_header.d"
typedef struct Token {