From 1a8b993aceb7d30ef4cccbefa2b4bbaa020f4e59 Mon Sep 17 00:00:00 2001 From: Bahadir Balban Date: Wed, 30 Sep 2009 23:49:24 +0300 Subject: [PATCH] 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 --- conts/posix/bootdesc/SConscript | 1 + conts/posix/libposix/stat.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/conts/posix/bootdesc/SConscript b/conts/posix/bootdesc/SConscript index 42bff1a..230397f 100644 --- a/conts/posix/bootdesc/SConscript +++ b/conts/posix/bootdesc/SConscript @@ -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']) diff --git a/conts/posix/libposix/stat.c b/conts/posix/libposix/stat.c index 34e98cb..1ba5c0e 100644 --- a/conts/posix/libposix/stat.c +++ b/conts/posix/libposix/stat.c @@ -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)