Define TOPDIR to . if not defined (for make bootcd)

svn path=/trunk/; revision=8880
This commit is contained in:
Art Yerkes 2004-03-27 04:33:15 +00:00
parent 3868dbd0a0
commit fa4663f158

View file

@ -48,6 +48,10 @@ SEP := \$(EMPTY_VAR)
PIPE := -pipe
endif
# Sane TOPDIR for toplevel makefile
ifeq ($(TOPDIR),)
TOPDIR = .
endif
# Use environment var ROS_INSTALL to override default install dir
ifeq ($(ROS_INSTALL),)