summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
Diffstat (limited to 'boot')
-rw-r--r--boot/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/boot/Makefile b/boot/Makefile
index 92c30445..f8a8be5e 100644
--- a/boot/Makefile
+++ b/boot/Makefile
@@ -38,11 +38,8 @@ include ../Makeconf
all: boot # uxboot
-device.defs:
- echo '#include <device/device.defs>' | $(CC) -E - > $@
-
ourdevice.defs: device.defs
- sed -e '/out device : device_t/s/device_t/mach_port_send_t/' $< > $@
+ $(CPP) $(CPPFLAGS) -x c $< | sed -e '/out device : device_t/s/device_t/mach_port_send_t/' > $@
boot: ../libthreads/libthreads.so