summaryrefslogtreecommitdiff
path: root/boot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'boot/Makefile')
-rw-r--r--boot/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/boot/Makefile b/boot/Makefile
index a1329b5a..92c30445 100644
--- a/boot/Makefile
+++ b/boot/Makefile
@@ -38,7 +38,10 @@ include ../Makeconf
all: boot # uxboot
-ourdevice.defs: $(install_includedir)/device/device.defs
+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/' $< > $@
boot: ../libthreads/libthreads.so