Updated a warning + removed .elf from intermediate bootdesc elf file

container packer picks up files with .elf extentions. Therefore intermediate
files must not have .elf extentions, since they're not meant to go to the final
executable.
	modified:   conts/posix/bootdesc/SConscript
	modified:   conts/posix/libposix/stat.c
This commit is contained in:
Bahadir Balban
2009-09-30 23:49:24 +03:00
parent 7ca634450b
commit 1a8b993ace
2 changed files with 3 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ from os.path import *
Import('config', 'environment', 'images')
e = environment.Clone()
e.Replace(PROGSUFFIX = '')
e.Append(LINKFLAGS = ['-T' + e['bootdesc_dir'] + '/linker.lds'])
#e.Append(LINKFLAGS = ['-T' + '/linker.lds'])

View File

@@ -57,6 +57,8 @@ int kstat_to_stat(struct kstat *ks, struct stat *s)
s->st_atime = ks->atime;
s->st_mtime = ks->mtime;
s->st_ctime = ks->ctime;
return 0;
}
static inline int l4_stat(const char *pathname, void *buffer)