view examples/build_Make.params @ 596:d729dea5c4a8

* user-guide.sgml: * config-tool.sgml: * configuration.sgml: Files extensively modified to bring them up to date. Essentially the old Tutorial document has been merged in with the User Guide to give a single document from which to start with eCos. * introduction.sgml: * installation.sgml: * programming.sgml: * programming-concepts-techniques.sgml: * target-setup.sgml: * real-time-characterization.sgml: New files containing both fresh text and text merged in from the old tutorial, which is now obsolete. * pix/templates01.png: * pix/ARMStartup01.png: * pix/build-lib01.png: * pix/build-tests01.png: * pix/twothreads2.png: Graphics copied here from old tutorial.
author nickg
date Wed, 12 Feb 2003 18:36:12 +0000
parents f44d40e6cdd3
children e68cf4daeda4
line wrap: on
line source

#! /bin/sh

# This script will set up a Makefile fragment with 
# platform specifics.  This fragement can be used by
# the automatically generated Makefile (via the script
# 'build_Makefile')

# Copied from 'makefile' the "install" tree

HOME=${1-`pwd`}
if [ ! -d ${HOME}/install ]; then
  echo "Not an eCos install tree"
  echo "usage: <eCos_repository>/build_Make.params [<eCos_install_dir>]"
  exit
fi

cat <<EOF >Make.params

# Copied from 'makefile' in the "install" tree

EOF

grep export ${HOME}/makefile >>Make.params

cat <<EOF >>Make.params

#
# Target specific flags, etc.
#

EOF

cat ${HOME}/install/include/pkgconf/ecos.mak >>Make.params