diff --git a/reactos/hal/hal.rbuild b/reactos/hal/hal.rbuild
index d112ab05462..b2f85e41607 100644
--- a/reactos/hal/hal.rbuild
+++ b/reactos/hal/hal.rbuild
@@ -6,7 +6,12 @@
-
+
+
+
+
+
+
diff --git a/reactos/hal/halx86/directory.rbuild b/reactos/hal/halx86/directory.rbuild
deleted file mode 100644
index a50373a7f7e..00000000000
--- a/reactos/hal/halx86/directory.rbuild
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- include
- include
-
-
- hal_generic
- hal_generic_up
- hal_generic_pc
- ntoskrnl
-
- halinit_up.c
- halup.rc
-
-
-
-
-
- include
- include
-
-
-
- hal_generic
- hal_generic_pc
- ntoskrnl
-
- apic.c
- halinit_mp.c
- ioapic.c
- ipi_mp.c
- mpconfig.c
- mps.S
- mpsboot.asm
- mpsirql.c
- processor_mp.c
- spinlock.c
- halmp.rc
-
-
-
-
- include
- include
-
-
-
- hal_generic
- hal_generic_up
- ntoskrnl
-
- pci.c
-
-
- halinit_xbox.c
- part_xbox.c
- halxbox.rc
- halxbox.h
-
-
-
diff --git a/reactos/hal/halx86/hal_generic.rbuild b/reactos/hal/halx86/hal_generic.rbuild
new file mode 100644
index 00000000000..0c680aa54f2
--- /dev/null
+++ b/reactos/hal/halx86/hal_generic.rbuild
@@ -0,0 +1,31 @@
+
+
+
+
+ include
+ include
+
+
+
+ beep.c
+ bios.c
+ bus.c
+ cmos.c
+ dma.c
+ drive.c
+ display.c
+ halinit.c
+ misc.c
+ portio.c
+ profil.c
+ reboot.c
+ sysinfo.c
+ timer.c
+ systimer.S
+ v86.s
+
+
+ hal.h
+
+
+
diff --git a/reactos/hal/halx86/hal_generic_pc.rbuild b/reactos/hal/halx86/hal_generic_pc.rbuild
new file mode 100644
index 00000000000..3571a42117a
--- /dev/null
+++ b/reactos/hal/halx86/hal_generic_pc.rbuild
@@ -0,0 +1,13 @@
+
+
+
+
+ include
+ include
+
+
+
+ pci.c
+
+
+
diff --git a/reactos/hal/halx86/hal_generic_up.rbuild b/reactos/hal/halx86/hal_generic_up.rbuild
new file mode 100644
index 00000000000..abb58c330dd
--- /dev/null
+++ b/reactos/hal/halx86/hal_generic_up.rbuild
@@ -0,0 +1,15 @@
+
+
+
+
+ include
+ include
+
+
+
+ irq.S
+ processor.c
+ spinlock.c
+
+
+
diff --git a/reactos/hal/halx86/halmp.rbuild b/reactos/hal/halx86/halmp.rbuild
new file mode 100644
index 00000000000..1e31984ce44
--- /dev/null
+++ b/reactos/hal/halx86/halmp.rbuild
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+ include
+ include
+
+
+
+ hal_generic
+ hal_generic_pc
+ ntoskrnl
+
+ apic.c
+ halinit_mp.c
+ ioapic.c
+ ipi_mp.c
+ mpconfig.c
+ mps.S
+ mpsboot.asm
+ mpsirql.c
+ processor_mp.c
+ spinlock.c
+ halmp.rc
+
+
+
diff --git a/reactos/hal/halx86/halup.rbuild b/reactos/hal/halx86/halup.rbuild
new file mode 100644
index 00000000000..fe87ba7a169
--- /dev/null
+++ b/reactos/hal/halx86/halup.rbuild
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+ include
+ include
+
+
+ hal_generic
+ hal_generic_up
+ hal_generic_pc
+ ntoskrnl
+
+ halinit_up.c
+ halup.rc
+
+
+
diff --git a/reactos/hal/halx86/halxbox.rbuild b/reactos/hal/halx86/halxbox.rbuild
new file mode 100644
index 00000000000..3002bde5f14
--- /dev/null
+++ b/reactos/hal/halx86/halxbox.rbuild
@@ -0,0 +1,24 @@
+
+
+
+
+
+ include
+ include
+
+
+
+ hal_generic
+ hal_generic_up
+ ntoskrnl
+
+ pci.c
+
+
+ halinit_xbox.c
+ part_xbox.c
+ halxbox.rc
+ halxbox.h
+
+
+