**** BEGIN LOGGING AT Wed Nov 21 02:59:58 2018 Nov 21 08:24:50 hi, uh, quick question. i'm using yocto bsp provided by vendor for their hardware, i'm able to build everything and run ok, but now i've applied a custom patch to bootloader sources (in ./build/tmp/work//barebox/.../board.c) Nov 21 08:25:07 how do i tell bitbake to rebuild target without removing/redownloading the sources? Nov 21 08:25:37 i've tried "-f" and "-c compile" and it doesn't do what i expect Nov 21 08:26:09 waterscale: bitbake -c clean YOURTARGET && bitbake YOURTARGET Nov 21 08:26:32 LetoThe2nd: wouldn't that remove the sources along with my patch? Nov 21 08:27:22 waterscale: hum, yeah probably. are you just in the testing staget for your patch, or is it finished? because in the latter case, format-patch it and add it to the recipe Nov 21 08:28:23 because in the testing staget, you'll probably be better off with devshell, manual building, or my favorite, EXTERNAL_SRC Nov 21 08:29:54 testing i guess, i haven't been able to check it yet but devs are certain it's gonna work, it's not that big of a patch. but what if i don't have the capacity to redownload all the sources? Nov 21 08:30:23 i think you want to use EXTERNAL_SRC for the dev stage Nov 21 08:31:06 this basically does two things: 1) it redirects the source oath of a given recipe to a given working copy that you can tinker with 2) the recipe compile command always is executed. Nov 21 08:31:42 here you go: https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#building-software-from-an-external-source Nov 21 08:32:17 yup, i'm checking it out, thanks a ton Nov 21 08:32:25 you can set this up for barebox, do all your testing, and when finished, format and include the patch in the recipe, and remove EXTERNAL_SRC again Nov 21 08:52:06 i've started looking into the externalsrc, but then stumbled upon this https://wiki.yoctoproject.org/wiki/TipsAndTricks/Patching_the_source_for_a_recipe and seems like "bitbake -C compile " worked. if i'm not missing something Nov 21 08:52:59 waterscale: but that implies a workflow which incorporates devtool Nov 21 08:53:09 another option, sure Nov 21 08:53:52 (in the end its EXTERNAL_SRC with a lot of magic and syntactic sugar added. but if it fits your needs, go for it, of course) Nov 21 08:55:00 afaiu, the devtool approach is the second one if you don't want to mess with bitbake. i'll port it to externalsrc if it works fine, better check it first Nov 21 08:55:14 both have up- and downsides **** BEGIN LOGGING AT Wed Nov 21 13:21:22 2018 Nov 21 15:52:10 rburton: I sent the u-boot bump; it would be good to try it on MUT Nov 21 15:54:08 otavio: sure Nov 21 15:56:20 rburton: I will review the sign patch later today Nov 21 15:56:55 thanks **** ENDING LOGGING AT Thu Nov 22 02:59:58 2018