K1OM: fixing patch to change the elf type for CPU driver
authorReto Achermann <reto.achermann@inf.ethz.ch>
Sun, 23 Jul 2017 18:08:21 +0000 (20:08 +0200)
committerReto Achermann <reto.achermann@inf.ethz.ch>
Sun, 23 Jul 2017 18:08:21 +0000 (20:08 +0200)
Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>

hake/K1om.hs

index 80011a3..3e76897 100644 (file)
@@ -194,7 +194,7 @@ linkKernel opts objs libs kbin =
                     ++
                     [ In BuildTree arch l | l <- libs ]
                     ++
-                    [ NL, NStr "echo -e '\\0002' | dd of=",
+                    [ NL, NStr "bash -c \"echo -e '\\0002'\" | dd of=",
                       Out arch kbin,
                       Str "bs=1 seek=16 count=1 conv=notrunc status=noxfer"
                     ]