Page 1 of 1

buildroot mods ( add device ) local build for now

Posted: Tue Apr 07, 2020 12:57 am
by wulfy23
Am I ok to build ipq806x-src once...

Then go in there and add a device

Then just add the strings;
gargoyle/targets/ipq806x/profiles/default/

???

In other words...
-will ipq806x-src be git pulled / rsynced etc. after the initial pull?
-are those strings the only upper level references to my device?

Re: buildroot mods ( add device ) local build for now

Posted: Tue Apr 07, 2020 2:01 am
by Lantis
All make commands should be issued from the Gargoyle level, not the openwrt level (*-src) unless you know what you're doing.

If you just run a "make FULL_BUILD=true ipq806x", let it go to completion, then add the image strings to the profile file as you have stated, all you need to do is run "make ipq806x" to then get the benefits of the change.
This will not do any git work in ipq806x-src, but it will copy across gargoyle package src's again. If these have not been modified, nothing will change.

The devices are also built based on the config. If your device is not set in the config it won't be built.
https://github.com/ericpaulbishop/gargo ... ig#L65-L90

Hope that helps.

Re: buildroot mods ( add device ) local build for now

Posted: Tue Apr 07, 2020 2:11 am
by wulfy23
cheers. super simple then :)