diff options
Diffstat (limited to 'recipes-demo/de10-nano-gpio-apps/files/build_watch_switch_events_ioctl.sh')
-rwxr-xr-x | recipes-demo/de10-nano-gpio-apps/files/build_watch_switch_events_ioctl.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-demo/de10-nano-gpio-apps/files/build_watch_switch_events_ioctl.sh b/recipes-demo/de10-nano-gpio-apps/files/build_watch_switch_events_ioctl.sh new file mode 100755 index 0000000..d615926 --- /dev/null +++ b/recipes-demo/de10-nano-gpio-apps/files/build_watch_switch_events_ioctl.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +gcc \ + -march=armv7-a \ + -mfloat-abi=hard \ + -mfpu=vfp3 \ + -mthumb-interwork \ + -mthumb \ + -O2 \ + -g \ + -feliminate-unused-debug-types \ + -std=gnu99 \ + -W \ + -Wall \ + -Werror \ + -Wc++-compat \ + -Wwrite-strings \ + -Wstrict-prototypes \ + -pedantic \ + -o watch_switch_events_ioctl \ + watch_switch_events_ioctl.c + |