Sven Roederer
15b7036f20
scripts/target_config_lib.lua: improve debug
2020-03-06 01:00:44 +01:00
Sven Roederer
2f3396d1eb
scripts/target_config_lib.lua: add new function get_pkglist()
...
it returns a table with all boards of a target and a list of packages
for each board.
2020-03-06 01:00:44 +01:00
Sven Roederer
e2e7ecb4c8
scrtips/target_config_lib: add new function devpkgs(dev)
...
this moves the transformation of "dev.options.packages" and
"site_packages(dev.image)" to a string ps packages from the
main code.
As the main-code gets a single string with all packages, it
does not need to evaluate the pkg-sources again.
2020-03-06 01:00:44 +01:00
Sven Roederer
d40b1e5916
scripts/target_config_lib.lua: add debug-output for profile and package-lists
2020-03-06 01:00:44 +01:00
Sven Roederer
7431b3916c
scripts/target_config_lib.lua: make arg[3] optional
...
by defaulting to nil
2020-03-06 01:00:44 +01:00
Sven Roederer
ef947b4a51
scripts: implement parsing of "EXTRA_PACKAGES"
...
This will just build packages, without adding them into an image.
2020-03-06 01:00:44 +01:00
Sven Roederer
8e318a4d42
scripts: improve debug-output
2020-03-06 01:00:44 +01:00
Sven Roederer
4653e49b56
scripts/target_config_lib.lua: rename extra_packages to default_packages
2020-03-06 01:00:44 +01:00
Sven Roederer
b9ec073a07
Revert "scripts: mark lib.target_packages as "m" modular"
...
This reverts commit 4219f0e9af9ee7fec74b31b48c7bd615eec6847f.
2020-03-06 01:00:44 +01:00
Sven Roederer
63aff3bd96
scripts: mark lib.target_packages as "m" modular
2020-03-06 01:00:44 +01:00
Sven Roederer
cb7f7fbb66
scripts: improve debug-output of site_packages(image)
2020-03-06 01:00:44 +01:00
Sven Roederer
b40f7a483c
debug: add some debug to the scripts
2020-03-06 01:00:44 +01:00
Sven Roederer
7ef25ce4ca
extend FOREIGN_BUILD to include different target/generic
2020-03-06 00:45:43 +01:00
Sven Roederer
a4e0b26470
gluon: (partial) add FLAG "GLUON_FOREIGN" to make the framework usable for other types of firmwares
...
ignored changes in MAkefile
defining this FLAG (to "1") disables / skips some things
* including gluon-core packages
* strict inclusion of some packages
* per device sepecific kernel build
* a gluon specific target/generic_gluon will be considered
2020-03-06 00:43:28 +01:00
Matthias Schiffer
78054cddbf
scripts: target_config_lib: fix inclusion of device-specific packages from site.mk
...
Fixes: 071cf7b20f
("Switch to Lua for target definitions")
2019-09-14 13:46:56 +02:00
Matthias Schiffer
09a09d634a
scripts: avoid global variables in target handler scripts
2019-06-18 01:34:45 +02:00