summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-13 15:48:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-13 15:48:10 +0000
commitc19b05df812b1714f3d2040c37d060261faaf4b1 (patch)
tree902c1484c737b7d35246f26ad75d6ea5d2e8cc34
parentd24c36f76ba090714fb7b84abd210935a8aeba8e (diff)
downloadlibbsdport-c19b05df812b1714f3d2040c37d060261faaf4b1.tar.bz2
2009-05-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems-pre.am, m4/rtems-fixup-prefix.m4: Install in standard location.
-rw-r--r--ChangeLog4
-rw-r--r--m4/rtems-fixup-prefix.m44
-rw-r--r--rtems-pre.am2
3 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 97045ce..2db8a8c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-13 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * rtems-pre.am, m4/rtems-fixup-prefix.m4: Install in standard location.
+
2009-02-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* INSTALL: Attempt to update.
diff --git a/m4/rtems-fixup-prefix.m4 b/m4/rtems-fixup-prefix.m4
index 859da2c..1a591e3 100644
--- a/m4/rtems-fixup-prefix.m4
+++ b/m4/rtems-fixup-prefix.m4
@@ -8,7 +8,7 @@
#
# - if user says nothing then
#
-# exec-prefix -> ${prefix}/target/ssrlApps/<cpu>/<bsp>/
+# exec-prefix -> ${prefix}/<cpu>-rtems/<bsp>/
# includedir -> ${exec-prefix}/include
#
AC_DEFUN([TILLAC_RTEMS_FIXUP_PREFIXES],
@@ -31,7 +31,7 @@ if test "${enable_std_rtems_installdirs}" = "yes" ; then
else
# should be correct also for multilibbed build (rtems_bsp empty)
if test "${exec_prefix}" = "NONE" ; then
- exec_prefix='${prefix}/target/ssrlApps/${host_cpu}-${host_os}/'${enable_rtemsbsp}/
+ exec_prefix='${prefix}/${host_cpu}-${host_os}/'${enable_rtemsbsp}/
ac_configure_args="${ac_configure_args} --exec-prefix='${exec_prefix}'"
fi
# Unfortunately we have no way to check if includedir was set by the user
diff --git a/rtems-pre.am b/rtems-pre.am
index 219e2bd..07d85fa 100644
--- a/rtems-pre.am
+++ b/rtems-pre.am
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -Wall
+AM_CPPFLAGS = -Wall -D__BSD_VISIBLE
AM_CFLAGS = -Wall
AM_CXXFLAGS = -Wall
AM_CCASFLAGS =