Opened 15 years ago
Closed 15 years ago
#9 closed enhancement (fixed)
Split platform/application configuration file
Reported by: | Nicolas Pouillon | Owned by: | Nicolas Pouillon |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Build system | Keywords: | |
Cc: | nipo@… |
Description
Configuration files contain both the platform definition and the libraries used by the application. Splitting them could allow reusing application definitions from different examples, and creating only one definition per application.
Change History (7)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Another idea could be merely to specify several config files when invocating the makefile: make CONF=conf_sys,conf_libs,conf_app In the internal buildsystem, we just have to 'cat' all those config file into one.
This way, one can have independent config files for each part of the kernel:
- config_arm_proc, config_mips_proc
- config_mono, config_smp2
- config_soclib
- config_migration, config_static
- config_elf, config_libtermui, config_lua
- etc
and build kernel in a very modular way: make CONF=config_mips_proc,config_smp2,config_soclib,etc
comment:3 Changed 15 years ago by
My bad, I should have look at the preview first...
Another idea could be merely to specify several config files when invocating the makefile:
make CONF=conf_sys,conf_libs,conf_app
In the internal buildsystem, we just have to cat all those config file into one.
This way, one can have independent config files for each part of the kernel:
- config_arm_proc, config_mips_proc
- config_mono, config_smp2
- config_soclib
- config_migration, config_static
- config_elf, config_libtermui, config_lua
- etc
and build kernel in a very modular way:
make CONF=config_mips_proc,config_smp2,config_soclib,etc
comment:4 Changed 15 years ago by
Cc: | Nicolas Pouillon added |
---|
comment:5 Changed 15 years ago by
I dont think we want to split them too deep, or we'll end up with configuration file contents on the command line :) and create shell scripts containing configuration command line :)
The build system already uses multiple configuration file for heterogeneous builds...
comment:6 Changed 15 years ago by
Cc: | nipo@… added; Nicolas Pouillon removed |
---|
Do you think of specifying two files to the build system, or maybe adding an "include" directive in the configuration syntax, or something else?