aboutsummaryrefslogtreecommitdiff
path: root/examples/shutdown-1.0/script/hardshutdown.make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shutdown-1.0/script/hardshutdown.make.sh')
-rwxr-xr-xexamples/shutdown-1.0/script/hardshutdown.make.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/shutdown-1.0/script/hardshutdown.make.sh b/examples/shutdown-1.0/script/hardshutdown.make.sh
new file mode 100755
index 000000000..90f8c5456
--- /dev/null
+++ b/examples/shutdown-1.0/script/hardshutdown.make.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+gcc -Wall -Os -o hardshutdown hardshutdown.c
+strip hardshutdown
+
+#or:
+#diet gcc -Wall -o hardshutdown hardshutdown.c
+#elftrunc hardshutdown