[Buildroot] [Question] How do I build source code at source folder?

Heiko Thiery heiko.thiery at gmail.com
Mon Apr 6 11:59:19 UTC 2020


Psychesnet, All,

Am Sa., 4. Apr. 2020 um 15:24 Uhr schrieb Psychesnet Hsieh
<psychesnet at gmail.com>:
>
> Hi Heiko,
>
> From previous and some projects, we would like to build 3 kinds of source code in our code base.
> 1. Directly build from open source, like lighttpd and ffmpeg. Basically, we don't need to change this a lot.
>     Put some patches and apply menuconfig to select enable/disable it. Anything is good. This one, Buildroot can help a lot.
> 2. Some binary code/source code from vendor/SDK. This one is familiar to open source, we don't need to change a lot, too.
>     Follow SDK instructions and apply patch to Buildroot is enough to get anything done.
> 3. Source code from our side, this part we change a lot and we would like to build it at source folder because
>     A. We change git log at source folder, we can trace anything quickly, don't need to switch folder to build.
>     B. We can build one source code instead of check anything, it is faster to build(makefile check dependency) and install into fakeroot folder to try.
>     C. We won't forget to commit the code, because any operations at source folder.
>
> I believe buildroot is the best for small embedded system, and we would like to try if we can get item 3 done in our project.
> I hope anything is clear. Thanks.

Sorry but I don't see why using the proposed <pkg>_OVERRIDE_SRCDIR
will solve the things you want to achieve in item 3.

-- 
Heiko



More information about the buildroot mailing list