All committed. Thanks,
Greg
Minor fix to improve the portability.
Committed with my recommended change:
-TOPDIR := ${shell pwd | sed -e 's/ /\\ /g'}
+TOPDIR := ${shell echo $(CURDIR) | sed -e 's/ /\\ /g'}
I did not change the use of $(CURDIR) where the substitution was not done. That is most likely a problem. I never use paths with spaces in them. I suspect that anyone using paths with spaces in them will see other problems. They can all be fixed simply, but finding and fixing them all could be a problem.
Unfortunately, paths with spaces in them are VERY common on windows systems. They are almost impossible to avoid. Like "Program Files (x86)".
Greg
Nevermind. I did
make distclean -i
And now everything is fine. Without the -i I could not do the distclean. But I think everything is okay is you start clean.
No, I am seeing the same errors with the ez80 makerlisp:nsh configuration. Any idea what might be wrong?
$ make staging/libsched.lib
Create .version
Create version.h
include/nuttx/version.h.tmp include/nuttx/version.h differ:
byte 394, line 10
LN: include/arch/chip to arch/z80/include/ez80
LN:
/cygdrive/d/Spuda/Documents/projects/nuttx/master/nuttx/drivers/platform
to
/cygdrive/d/Spuda/Documents/projects/nuttx/master/nuttx/boards/z80/ez80/drivers
make[1]: Entering directory
'/cygdrive/d/Spuda/Documents/projects/nuttx/master/nuttx/boards'
make[1]: Nothing to be done for 'dirlinks'.
make[1]: Leaving directory
'/cygdrive/d/Spuda/Documents/projects/nuttx/master/nuttx/boards'
make[1]: Entering directory
'/cygdrive/d/Spuda/Documents/projects/nuttx/master/apps'
make[2]: Entering directory '/cygdrive/d/Spuda/Documents/projects/nuttx/master/apps/platform'
/cygdrive/d/Spuda/Documents/projects/nuttx/master/apps/Application.mk:102:
*** target pattern contains no '%'. Stop.
make[2]: Leaving directory
'/cygdrive/d/Spuda/Documents/projects/nuttx/master/apps/platform'
make[1]: *** [Makefile:167: dirlinks] Error 2
make[1]: Leaving directory
'/cygdrive/d/Spuda/Documents/projects/nuttx/master/apps'
make: *** [tools/Makefile.unix:375: dirlinks] Error 2
Noe, I am seeing the same errors with the ez80 makerlisp:nsh configuration. Any idea what might be wrong?
$ make staging/libsched.lib
make[2]: Entering directory '/cygdrive/d/Spuda/Documents/projects/nuttx/master/apps/platform'
/cygdrive/d/Spuda/Documents/projects/nuttx/master/apps/Application.mk:102: *** target pattern contains no '%'. Stop.
I will reformat my patch try to:1.split into two source code if possible2.or comment out the stop version