Where can one get the premade configs for building packages?

Where can I get the pre-made per-chipset config (like https://downloads.openwrt.org/releases/22.03.3/targets/mediatek/mt7623/config.buildinfo) for building all the packages? I am interested in the ones that would be used by the automated build-bots for each platform to build the packages.

1 Like

There is buildinfo for all targets, or am I misunderstanding the issue?

The buildbot config is just the default, which you get by selecting a device (and then "build all packages"). There is no secret sauce.

2 Likes

Each target's config.buildinfo is only set up to build a small subset of all the possible packages for any given architecture. Yet when the build-bots generate a complete set of packages for an architecture (as available at https://downloads.openwrt.org/releases/22.03.3/packages/), they are using config files from somewhere. I am looking for those.

1 Like

Oh, perfect, thanks.

1 Like

They use the SDK, followed by a ./scripts/feeds update; ./scripts/feeds install -a; make defconfig; make - the SDK defaults to building all packages.

1 Like

So, I discovered, once you get the default target config.buildinfo (which is, of course, a saved diffconfig) and save it, you have to do a make menuconfig and check the option to "build all userspace packages by default" before you do a make defconfig. Otherwise, and I'm sure this is obvious to everyone elses, but the make defconfig unpacks the diffconfig and locks in the unselected packages, and checking "build all userspace packages by default" does nothing.

I'm just writing that out in case someone else comes along who doesn't know that. It took me an embarrassingly long time to work that out. :stuck_out_tongue:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.