forked from Imagelibrary/rtems
* configure.in: New, Cygnus/GNU style configuration. * Makefile.am: Add macros/, reflect new configure.in, ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/macros * automake/compile.am: BSP_SPECS, remove RTEMS_CANONICALIZATION. * automake/lib.am: Remove RTEMS_CANONICALIZATION. * macros/tool-prefix.m4: Remove. * macros/target.m4: Remove RTEMS_CONFIG_SUBDIRS, RTEMS_OUTPUT_SUBDIRS. * macros/enable-rtemsbsp.m4: Add RTEMS_CONFIG_PER_BSP, add setting RTEMS_ROOT. * macros/i386-gas-code16.m4: Define NEW_GAS only for 16bit mode- * macros/multilib.m4: Various minor fixes. * macros/project-root.m4: Remove setting PROJECT_TOPdir, PROJECT_ROOT, RTEMS_ROOT. * macros/rtems-top.m4: Remove RTEMS_CANONICALIZATION, TARGET_SUBDIRS; Add with_target_subdirs, PROJECT_TOPdir, PROJECT_ROOT.
29 lines
814 B
Plaintext
29 lines
814 B
Plaintext
dnl
|
|
dnl $Id$
|
|
dnl
|
|
|
|
dnl
|
|
dnl PROJECT_TOPdir .. relative path to the top of the build-tree
|
|
dnl PROJECT_ROOT .. relative path to the top of the temporary
|
|
dnl installation directory inside the build-tree
|
|
dnl RTEMS_TOPdir .. relative path of a subpackage's configure.in to the
|
|
dnl toplevel configure.in of the source-tree
|
|
dnl RTEMS_ROOT .. path to the top of a bsp's build directory
|
|
dnl [Applied by custom/*.cfg, depredicated otherwise]
|
|
dnl
|
|
|
|
AC_DEFUN(RTEMS_PROJECT_ROOT,
|
|
[dnl
|
|
AC_REQUIRE([RTEMS_TOP])
|
|
|
|
PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
|
|
AC_SUBST(PACKHEX)
|
|
|
|
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
|
|
AC_SUBST(PROJECT_INCLUDE)
|
|
|
|
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
|
|
AC_SUBST(PROJECT_RELEASE)
|
|
])
|
|
|