view examples/build_Make.params @ 581:e2b797ca39b4

* src/net/eth_drv.c: If driver can't set multi-cast, indicate it's only a warning.
author jlarmour
date Fri, 07 Feb 2003 00:27:08 +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