Files
buildroot/package
Yann E. MORIN 61ba2ec685 package/pkg-utils.mk: rationalise kconfig option mangling
Currently, we have three macros that may mangle a .config file. All
three are modeled after the same pattern: removing the existing option
from the .config file, then adding the new definition for that option;
all three also implement that pattern with the same commands: sed and
echo.

This is all good so far, because it was simple enough, and they always
worked on a file passed in parameter.

However, we're soon going to change this file parameter to make it
optional, so that the file will then be auto-deduced for the current
package. In that case, the file to sed and echo into will be a more
complex structure than just the parameter.

As such, move the actual mangling down to a helper macro, that is called
from the three existing ones.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 653afb764a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-08-30 08:53:18 +02:00
..
2020-07-22 13:37:14 +02:00
2019-12-08 14:31:26 +01:00
2020-02-25 23:24:34 +01:00
2020-02-23 09:45:10 +01:00
2020-02-03 14:44:52 +01:00
2019-12-31 09:31:56 +01:00
2020-01-28 23:20:40 +01:00
2020-02-03 14:44:52 +01:00
2020-04-25 09:06:09 +02:00
2020-02-29 23:17:29 +01:00
2019-12-24 14:06:48 +01:00
2019-12-25 22:46:39 +01:00
2020-08-28 18:01:24 +02:00
2020-02-03 14:44:52 +01:00
2020-08-18 17:36:09 +02:00
2020-02-29 19:26:38 +01:00
2019-12-25 22:06:25 +01:00
2020-02-03 14:44:52 +01:00
2020-02-03 14:44:52 +01:00
2020-02-03 14:44:52 +01:00
2020-02-03 14:44:52 +01:00
2020-06-02 08:41:08 +02:00
2020-02-03 14:44:52 +01:00
2020-07-20 21:56:41 +02:00
2020-08-13 20:36:31 +02:00
2020-02-03 14:44:52 +01:00
2020-02-03 14:44:52 +01:00
2020-05-08 11:39:03 +02:00
2020-07-22 13:47:00 +02:00
2020-02-03 14:44:52 +01:00
2020-02-03 14:44:52 +01:00
2020-02-03 14:44:52 +01:00
2020-02-03 14:44:52 +01:00
2020-02-03 14:44:52 +01:00
2020-01-11 22:39:56 +01:00
2020-02-03 14:44:52 +01:00
2020-01-13 21:16:14 +01:00
2020-02-03 14:44:53 +01:00
2020-01-01 23:01:27 +01:00
2020-05-08 12:08:05 +02:00
2020-02-03 14:44:53 +01:00
2020-07-22 11:08:12 +02:00
2020-02-03 14:44:53 +01:00
2020-02-03 22:55:08 +01:00
2020-02-11 23:28:26 +01:00
2019-12-08 15:39:57 +01:00
2020-04-07 21:04:41 +02:00
2020-02-03 14:44:53 +01:00
2020-04-07 20:28:05 +02:00
2020-02-03 14:44:53 +01:00
2019-12-30 21:41:36 +01:00
2020-02-03 14:44:53 +01:00
2020-01-19 10:01:11 +01:00
2020-02-03 14:44:53 +01:00
2020-02-03 14:44:53 +01:00
2020-01-13 21:19:46 +01:00
2019-12-08 23:25:05 +01:00
2020-07-13 08:37:19 +02:00
2019-12-22 16:01:00 +01:00
2019-12-16 22:38:22 +01:00
2020-07-22 13:44:19 +02:00
2020-01-08 23:10:11 +01:00
2020-01-08 09:30:56 +01:00
2020-02-03 14:45:35 +01:00
2020-02-03 14:45:35 +01:00
2020-02-03 14:45:35 +01:00
2019-12-02 22:24:26 +01:00
2020-01-18 13:44:19 +01:00
2019-12-22 11:07:13 +01:00
2020-02-03 14:45:35 +01:00
2020-02-03 14:21:06 +01:00
2020-05-31 23:21:38 +02:00
2020-02-03 14:45:35 +01:00
2020-02-03 14:45:35 +01:00
2020-02-03 14:45:35 +01:00
2020-02-03 14:45:35 +01:00
2020-02-02 15:12:05 +01:00
2020-01-12 22:51:08 +01:00
2020-01-12 22:51:57 +01:00
2020-02-03 14:45:35 +01:00
2020-02-23 09:26:10 +01:00
2019-12-26 09:38:54 +01:00
2020-07-22 09:00:59 +02:00
2020-02-03 14:45:35 +01:00
2020-04-08 16:30:36 +02:00
2020-08-18 17:24:21 +02:00
2020-05-08 09:13:34 +02:00
2020-02-03 14:45:35 +01:00
2020-02-03 14:45:35 +01:00
2020-02-15 12:04:49 +01:00
2020-01-20 20:04:12 +01:00
2020-02-03 14:45:35 +01:00
2020-08-28 18:43:57 +02:00
2020-02-03 14:45:35 +01:00
2020-01-08 23:10:09 +01:00
2020-07-15 23:21:34 +02:00
2020-01-05 22:01:58 +01:00
2020-02-15 11:58:38 +01:00
2020-02-03 21:17:54 +01:00
2020-02-03 14:45:36 +01:00
2020-02-03 14:45:36 +01:00
2020-02-03 14:45:36 +01:00
2020-02-03 14:45:36 +01:00
2020-02-03 14:45:36 +01:00
2019-12-02 22:25:38 +01:00
2020-02-03 14:45:36 +01:00
2020-02-03 22:55:08 +01:00
2020-04-30 14:42:03 +02:00
2020-01-28 23:23:53 +01:00
2020-02-04 19:36:18 +01:00
2020-02-03 14:45:36 +01:00
2020-04-29 23:49:57 +02:00
2020-02-14 09:13:07 +01:00
2020-08-28 17:10:50 +02:00
2020-03-08 09:41:44 +01:00
2020-02-03 14:45:36 +01:00
2020-01-14 17:14:46 +01:00
2020-01-12 22:11:27 +01:00
2020-02-03 14:45:36 +01:00
2020-02-03 14:45:36 +01:00
2020-05-31 23:20:15 +02:00
2020-02-03 14:45:36 +01:00
2019-12-26 20:43:52 +01:00
2020-02-04 22:55:41 +01:00
2019-12-22 11:38:42 +01:00
2020-04-07 20:24:58 +02:00
2020-02-03 14:45:36 +01:00
2020-02-03 14:45:36 +01:00
2019-12-16 22:51:32 +01:00
2020-02-03 14:45:36 +01:00
2020-01-26 12:40:48 +01:00
2020-02-03 14:45:36 +01:00
2020-02-02 00:07:26 +01:00
2020-07-22 13:44:19 +02:00
2020-03-02 23:33:57 +01:00
2020-02-03 14:45:36 +01:00
2020-02-03 14:45:36 +01:00
2020-03-07 22:52:02 +01:00
2020-01-01 11:59:42 +01:00
2019-12-24 14:11:43 +01:00
2020-08-28 18:43:57 +02:00
2020-01-05 22:00:24 +01:00
2020-02-03 14:45:36 +01:00
2020-02-03 14:45:36 +01:00
2020-02-14 09:13:07 +01:00
2020-02-03 14:45:36 +01:00
2020-02-03 14:45:36 +01:00
2020-04-07 21:02:37 +02:00
2020-02-03 14:45:36 +01:00
2020-02-03 14:45:36 +01:00
2020-02-03 15:29:52 +01:00
2020-01-19 23:07:17 +01:00
2020-02-03 14:45:36 +01:00
2019-12-08 08:39:58 +01:00
2020-02-03 14:45:36 +01:00
2020-01-05 21:32:39 +01:00
2020-02-03 14:45:37 +01:00
2020-02-03 14:45:37 +01:00
2019-12-08 13:58:32 +01:00
2020-05-09 09:20:45 +02:00
2019-12-22 13:52:25 +01:00
2019-12-08 08:52:00 +01:00
2020-02-03 14:45:37 +01:00