summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-28 14:32:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-28 14:32:48 +0000
commit3e422c427ece8230d1c67892cf1414076e217553 (patch)
treedb114ac35d810bb158aa1983155d6d639cc5bf4d
parent2007-09-28 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadada-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--ChangeLog6
-rw-r--r--Makefile2
-rw-r--r--Makefile.shared4
3 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 13acfca..f1b7498 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/Makefile b/Makefile
index 7dac10e..7bfb25c 100644
--- a/Makefile
+++ b/Makefile
@@ -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) $(@)