--- uboot/tools/Makefile	2005-12-16 11:39:27.000000000 -0500
+++ uboot.new/tools/Makefile	2007-07-13 12:37:17.000000000 -0400
@@ -189,7 +189,7 @@
 		ln -s ../common/environment.c environment.c
 
 environment.o: environment.c
-		$(CC) -g $(HOST_ENVIRO_CFLAGS) $(CPPFLAGS) -c $<
+		$(CC) -include $(TOPDIR)/../projdef.h -g $(HOST_ENVIRO_CFLAGS) $(CPPFLAGS) -c $<
 
 crc32.c:
 		@rm -f crc32.c
