Revisited the spec file

Now that we have only "nrj-desktop" kernel flavour here, let us remove the
machinery to build several flavours using the same spec file. It should make
its maintenance easier.

Keep the kernel config in a single file for each arch as well.

The changes made to kernel.spec are similar to a combination of the
following commits from import/kernel-desktop-4.15 (it was quite difficult
to port these here one by one, so I ported them together):

bf1aa99555f5 "Simplify the spec file: we have only one kernel flavour per project"
f72456261c92 "Do not waste time creating modules.description"
ef83d37d46c4 "Do not build kernel-source"
eeaf8147710f "Removed the remnant of the old %preun"
2dbf502fd987 "Do not escape '$' in the scriptlets"
This commit is contained in:
Evgenii Shatokhin 2019-07-16 18:30:53 +03:00
parent be1c28ceaf
commit a2f6633407
3 changed files with 584 additions and 863 deletions

View file

@ -1,2 +0,0 @@
# No longer used, kept as a placeholder in case some customization is
# needed in the future.

View file

@ -1,2 +0,0 @@
# No longer used, kept as a placeholder in case some customization is
# needed in the future.

File diff suppressed because it is too large Load diff