-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize the build process #4
Comments
I'll revisit the build system. For apollolake you don't need to compile the full kernel, but for other platforms there are system and/or built-in modules missing, so the whole thing must be built. This is something that must only be done once, no matter how many times the media_build system is updated, so I'm not sure if there's really an issue here. |
gotcha.
But I now realize that this bug entry referred to two things: |
As an FYI, I've documented how to reproduce the build using your tool (as this could end-up being useful for others): |
Build process now entirely reproduced within SynoCommunity PR SynoCommunity/spksrc#4144 |
The current build process does a full kernel build of the unmodified linux-4.4.x tree (unless i'm missing something). Could it be possible to simply adjust
Makefile
, copy/modify the config and invoke:And then directly call the media_build
build
script?Because the following command:
./md_builder.sh -B media -d SYNO-Apollolake
Leeds to a full compilation of
build/SYNOAPOLLOLAKE/linux-4.4.x
So I ended up having to directly invoke the media build:
Note that I tried skipping
md_builder.sh -B
part and directly invokemedia_build
but it requires theMakefile
and.config
pre-adjusted over the linux-4.4.x tree to be done first, which is done by themd_builder.sh -B
call.The text was updated successfully, but these errors were encountered: