mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-16 07:27:26 +00:00
ar71xx: fix lzma-loader kernel command line passing
The generic kernel cmdline parser ignores argv[0], this caused a regression for all lzma-loader based boards with linux 4.1 Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46544
This commit is contained in:
parent
bf82deff70
commit
320aa30609
@ -73,9 +73,10 @@ static unsigned long lzma_outsize;
|
||||
static unsigned long kernel_la;
|
||||
|
||||
#ifdef CONFIG_KERNEL_CMDLINE
|
||||
#define kernel_argc 1
|
||||
#define kernel_argc 2
|
||||
static const char kernel_cmdline[] = CONFIG_KERNEL_CMDLINE;
|
||||
static const char *kernel_argv[] = {
|
||||
NULL,
|
||||
kernel_cmdline,
|
||||
NULL,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user