From 1c9dfe8030cd6c303edbf120f7ceaf696142e07d Mon Sep 17 00:00:00 2001 From: Russel Winder Date: Sat, 15 Aug 2009 08:05:28 +0100 Subject: [PATCH] Add the constructed config.h file as a dependency of the compiled objects so that it actually gets built. --- SConstruct | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 411be74..0b8f106 100644 --- a/SConstruct +++ b/SConstruct @@ -91,7 +91,8 @@ else : # # TODO: Decide if this is an issue or not. - configuration = Configure(baseEnvironment, config_h = buildDirectory + '/l4/config.h') + configHPath = buildDirectory + '/l4/config.h' + configuration = Configure(baseEnvironment, config_h = configHPath) configData = processCML2Config() arch = None platform = None @@ -123,6 +124,7 @@ else : configuration.env['PLATFORM'] = platform configuration.env['SUBARCH'] = subarch baseEnvironment = configuration.Finish() + baseEnvironment.Append(configFiles = ('#' + configHPath,)) ########## Build the libraries ########################