summaryrefslogtreecommitdiffstats
path: root/fpga/ebaz4205/src/fs/boot
diff options
context:
space:
mode:
Diffstat (limited to 'fpga/ebaz4205/src/fs/boot')
-rw-r--r--fpga/ebaz4205/src/fs/boot/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/fpga/ebaz4205/src/fs/boot/Makefile b/fpga/ebaz4205/src/fs/boot/Makefile
new file mode 100644
index 0000000..ce1b042
--- /dev/null
+++ b/fpga/ebaz4205/src/fs/boot/Makefile
@@ -0,0 +1,12 @@
+default: uboot/vmlinuz uboot/initrd.img
+
+uboot/vmlinuz: /vmlinuz
+ mkimage -A ARM -O Linux -T Kernel -C none -d $< $@
+
+uboot/initrd.img: /initrd.img
+ mkimage -A ARM -O Linux -T RAMDisk -C none -d $< $@
+
+/initrd.img: /lib/modules/stamp
+ dracut --force
+
+