diff --git a/reactos/boot/freeldr/freeldr/bootmgr.c b/reactos/boot/freeldr/freeldr/bootmgr.c index 0d74206e874..1762c33731c 100644 --- a/reactos/boot/freeldr/freeldr/bootmgr.c +++ b/reactos/boot/freeldr/freeldr/bootmgr.c @@ -115,14 +115,6 @@ VOID RunLoader(VOID) { LoadAndBootReactOS(OperatingSystemSectionNames[SelectedOperatingSystem]); } -#ifdef FREELDR_ROS_SETUP - else if (_stricmp(SettingValue, "ReactOSSetup") == 0) - { - // Could probably pass the selection across at a later date - // which might be useful for different install methods? - RunReactOSSetup(); - } -#endif #ifdef __i386__ else if (_stricmp(SettingValue, "WindowsNT40") == 0) { diff --git a/reactos/boot/freeldr/freeldr/freeldr_base.rbuild b/reactos/boot/freeldr/freeldr/freeldr_base.rbuild index a0d008f4612..c5d39db316e 100644 --- a/reactos/boot/freeldr/freeldr/freeldr_base.rbuild +++ b/reactos/boot/freeldr/freeldr/freeldr_base.rbuild @@ -77,12 +77,6 @@ version.c cmdline.c machine.c - drivemap.c - miscboot.c - options.c - linuxboot.c - oslist.c - custom.c freeldr.h diff --git a/reactos/boot/freeldr/freeldr/freeldr_main.rbuild b/reactos/boot/freeldr/freeldr/freeldr_main.rbuild index 7ad1d850700..57178db0e82 100644 --- a/reactos/boot/freeldr/freeldr/freeldr_main.rbuild +++ b/reactos/boot/freeldr/freeldr/freeldr_main.rbuild @@ -7,4 +7,10 @@ -fno-inline -fno-zero-initialized-in-bss bootmgr.c + drivemap.c + miscboot.c + options.c + linuxboot.c + oslist.c + custom.c diff --git a/reactos/boot/freeldr/freeldr/include/freeldr.h b/reactos/boot/freeldr/freeldr/include/freeldr.h index 5f00f9bcc68..b1a63a1535f 100644 --- a/reactos/boot/freeldr/freeldr/include/freeldr.h +++ b/reactos/boot/freeldr/freeldr/include/freeldr.h @@ -107,6 +107,5 @@ VOID BootMain(LPSTR CmdLine); VOID RunLoader(VOID); -VOID RunReactOSSetup(VOID); #endif // defined __FREELDR_H diff --git a/reactos/boot/freeldr/freeldr/reactos/setupldr.c b/reactos/boot/freeldr/freeldr/reactos/setupldr.c index b9f036c3aeb..3b371639e71 100644 --- a/reactos/boot/freeldr/freeldr/reactos/setupldr.c +++ b/reactos/boot/freeldr/freeldr/reactos/setupldr.c @@ -42,7 +42,7 @@ extern BOOLEAN FrLdrLoadNlsFile(PCSTR szFileName, PCSTR szModuleName); #define USE_UI -VOID RunReactOSSetup(VOID) +VOID RunLoader(VOID) { ULONG i; LPCSTR SourcePath; diff --git a/reactos/boot/freeldr/freeldr/setupldr_main.rbuild b/reactos/boot/freeldr/freeldr/setupldr_main.rbuild index 8341ae67b01..d0151e397c5 100644 --- a/reactos/boot/freeldr/freeldr/setupldr_main.rbuild +++ b/reactos/boot/freeldr/freeldr/setupldr_main.rbuild @@ -4,15 +4,11 @@ include include - -ffreestanding -fno-builtin -fno-inline -fno-zero-initialized-in-bss -Os - - bootmgr.c - inffile.c