diff options
author | Luis R. Rodriguez <mcgrof@suse.com> | 2014-11-06 11:17:36 -0800 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2014-11-14 13:47:15 -0800 |
commit | 239d467bc4451760afb6932e154da245768bd509 (patch) | |
tree | c5173d1a80af2f696b0e2e61e567e3811a0250cc | |
parent | 600d1c2fe6511caaecff28bbf9ee2691a0a7a4aa (diff) |
backports: move packaging kconfig hacks to its own file
Move packaging kconfig hacks to its own file, we'll be ignoring
this file later for postprocessing. Keeping this in a separate
file will make parsing much simpler.
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
-rw-r--r-- | backport/Kconfig | 9 | ||||
-rw-r--r-- | backport/Kconfig.package.hacks | 8 | ||||
-rwxr-xr-x | gentree.py | 3 |
3 files changed, 12 insertions, 8 deletions
diff --git a/backport/Kconfig b/backport/Kconfig index b14a2688..a8f28671 100644 --- a/backport/Kconfig +++ b/backport/Kconfig @@ -14,13 +14,8 @@ config BACKPORTED_KERNEL_NAME source Kconfig.kernel source Kconfig.versions -# some hacks ... -config WIRELESS - def_bool y -config NET_CORE - def_bool y -config EXPERT - def_bool y +# Packaging hacks +source Kconfig.package.hacks # this has the configuration for the backport code source compat/Kconfig diff --git a/backport/Kconfig.package.hacks b/backport/Kconfig.package.hacks new file mode 100644 index 00000000..6a429dd1 --- /dev/null +++ b/backport/Kconfig.package.hacks @@ -0,0 +1,8 @@ +# some hacks for when we use backports to generate a package +# to build modules out of tree. +config WIRELESS + def_bool y +config NET_CORE + def_bool y +config EXPERT + def_bool y @@ -731,7 +731,8 @@ def process(kerneldir, outdir, copy_list_file, git_revision=None, # do the copy backport_files = [(x, x) for x in [ - 'Kconfig', 'Makefile', 'Makefile.build', 'Makefile.kernel', '.gitignore', + 'Kconfig', 'Kconfig.package.hacks', + 'Makefile', 'Makefile.build', 'Makefile.kernel', '.gitignore', 'Makefile.real', 'compat/', 'backport-include/', 'kconf/', 'scripts/', '.blacklist.map', ]] |