On Tue Nov 17, 2020 at 11:36 AM HST, Sebastian Kemper wrote: > Commit 5d76065 moved the creation of the symvers directory to > include/kernel-build.mk. This is fine when building from scratch. But > when unpacking an SDK the directory doesn't exist and because the kernel > won't be built (again) this directory will not be created by the build > system, causing build failure if make tries to copy files into it. > > Signed-off-by: Sebastian Kemper <sebastian...@gmx.net>
Could you please provide an example when that fails? E.g. what package makes the SDK copy things there? > --- > include/kernel.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/kernel.mk b/include/kernel.mk > index 1ae9c6be29..e803ff44e7 100644 > --- a/include/kernel.mk > +++ b/include/kernel.mk > @@ -140,6 +140,7 @@ endif > PKG_EXTMOD_SUBDIRS ?= . > > PKG_SYMVERS_DIR = $(KERNEL_BUILD_DIR)/symvers > +$(shell mkdir -p $(PKG_SYMVERS_DIR)) > > define collect_module_symvers > for subdir in $(PKG_EXTMOD_SUBDIRS); do \ > -- > 2.26.2 > > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel