diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-28 14:32:48 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-28 14:32:48 +0000 |
commit | 3e422c427ece8230d1c67892cf1414076e217553 (patch) | |
tree | db114ac35d810bb158aa1983155d6d639cc5bf4d | |
parent | 2007-09-28 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | ada-examples-3e422c427ece8230d1c67892cf1414076e217553.tar.bz2 |
2007-09-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile: Add stack_check test.
* Makefile.shared: Add EXTRA_GNATFLAGS so stack_check can specify
the flags -fstack-check.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Makefile.shared | 4 |
3 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2007-09-28 Joel Sherrill <joel.sherrill@oarcorp.com> + + * Makefile: Add stack_check test. + * Makefile.shared: Add EXTRA_GNATFLAGS so stack_check can specify + the flags -fstack-check. + 2007-09-27 Joel Sherrill <joel.sherrill@oarcorp.com> * rootfs/etc/host.conf, rootfs/etc/hosts: New files. @@ -6,7 +6,7 @@ include $(RTEMS_MAKEFILE_PATH)/Makefile.inc include $(RTEMS_CUSTOM) include $(RTEMS_ROOT)/make/directory.cfg -SUBDIRS=hello_world_ada delay_until +SUBDIRS=hello_world_ada delay_until stack_check ifeq ($(HAS_NETWORKING),yes) SUBDIRS += dumpwebpage pingpong gen-soconn diff --git a/Makefile.shared b/Makefile.shared index 505c2ef..cb13aba 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -30,8 +30,8 @@ endif all: $(PROGRAM) $(PROGRAM): rtems_init.o $(FILESYSTEM_OBJS) $(PROGRAM).adb - $(AS:as=gnatmake) -v -O -gnata -gnatE -gnato $(@) -g \ - -I../src \ + $(AS:as=gnatmake) -v $(EXTRA_GNATFLAGS) \ + -O -gnata -gnatE -gnato $(@) -g -I../src \ -bargs -Mgnat_main \ -largs $(CARGS) $(LINKARGS) rtems_init.o $(FILESYSTEM_OBJS) $(SIZE) $(@) |