mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 08:38:38 +08:00
Makefile would sometimes create spurious links
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@145 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
df2a08cf9b
commit
468beb1305
2 changed files with 14 additions and 9 deletions
10
Makefile
10
Makefile
|
@ -58,7 +58,15 @@ include/nuttx/config.h: $(TOPDIR)/.config tools/mkconfig
|
|||
tools/mkconfig $(TOPDIR) > include/nuttx/config.h
|
||||
|
||||
include/arch: include/nuttx/config.h
|
||||
ln -sf $(TOPDIR)/$(ARCH_DIR)/include include/arch
|
||||
@if [ -e include/arch ]; then \
|
||||
if [ -h include/arch ]; then \
|
||||
rm -f include/arch ; \
|
||||
else \
|
||||
echo "include/arch exists but is not a symbolic link" ; \
|
||||
exit 1 ; \
|
||||
fi ; \
|
||||
fi
|
||||
@ln -s $(TOPDIR)/$(ARCH_DIR)/include include/arch
|
||||
|
||||
context: check_context include/nuttx/config.h include/arch
|
||||
|
||||
|
|
13
TODO
13
TODO
|
@ -13,17 +13,16 @@ Task/Scheduler
|
|||
- Make the system timer frequency configurable via defconfig. See:
|
||||
_POSIX_CLOCKRES_MIN in limits.h
|
||||
CLK_TCK in time.h
|
||||
Definitions in sched/clock_internal.h
|
||||
MSEC_PER_TICK in sched/clock_internal.h
|
||||
- Consider implementing wait, waitpid, waitid. At present, a parent has
|
||||
no information about child tasks.
|
||||
|
||||
o Memory Managment
|
||||
- Add an option to free all memory allocated by a task when the task exits.
|
||||
This may not be worth the overhead for a deeply embedded system.
|
||||
This is probably not be worth the overhead for a deeply embedded system.
|
||||
|
||||
o Signals
|
||||
- 'Standard' signals and signal actions are not supported. Does this
|
||||
make since in a deeply embedded system?
|
||||
- 'Standard' signals and signal actions are not supported.
|
||||
|
||||
o pthreads
|
||||
- pthread_cancel(): Should implemenent cancellation points and pthread_testcancel()
|
||||
|
@ -40,7 +39,6 @@ o Libraries
|
|||
Apparently printf has some thread safety issues.
|
||||
|
||||
o File system
|
||||
- This probabaly needs some rethinking.
|
||||
- Add some concept like mount points to handle mounted "real" filesystems.
|
||||
|
||||
o Console Output
|
||||
|
@ -50,12 +48,13 @@ o Documentation
|
|||
- Document filesystem, library
|
||||
|
||||
o Build system
|
||||
- Something leaves garbage link 'include' in arch/*/include
|
||||
|
||||
o Applications & Tests
|
||||
|
||||
o C5471
|
||||
|
||||
o DM320
|
||||
|
||||
o pjrc-8052 / MCS51
|
||||
* Current status:
|
||||
- Basic OS task management seems OK
|
||||
|
@ -73,5 +72,3 @@ o pjrc-8052 / MCS51
|
|||
clock_initialize.c at line 107
|
||||
pthread_create.c at 330
|
||||
sighand.c at 225 and 244
|
||||
|
||||
o DM320
|
||||
|
|
Loading…
Reference in a new issue