Why distfeeds.conf seperation change by architecture(mips24_kc)

I am building firmware for "ar71xx_generic" and "lantiq_xrx200". Both are based on the architecture "mips_24kc". After the build has finished the packages are uploaded to an ftp server. Because i have not enabled all packages on both targets and because both are based on mips_24kc my "Packages.manifest" is different and some package are missing!
This is because the packages of the last build are uploaded and previous are overwritten or delete.

I don't want to enable all packages on both target.

How does the lede buildbot solve this?

It uses a separate workspace (buildroot directory) per target

Buildbot solves your problem by building things in two steps, quite separately.

That is also reflected on you distfeeds.conf where first line is for target-dependent packages and other lines are for mips_24kc stuff:

src/gz reboot_core http://downloads.lede-project.org/snapshots/targets/ar71xx/generic/packages
src/gz reboot_base http://downloads.lede-project.org/snapshots/packages/mips_24kc/base
src/gz reboot_luci http://downloads.lede-project.org/snapshots/packages/mips_24kc/luci
src/gz reboot_packages http://downloads.lede-project.org/snapshots/packages/mips_24kc/packages
src/gz reboot_routing http://downloads.lede-project.org/snapshots/packages/mips_24kc/routing
src/gz reboot_telephony http://downloads.lede-project.org/snapshots/packages/mips_24kc/telephony

I don't know a graceful way of solving your problem.
Easiest might be to manually combine all necessary packages to be built along one of your targets. (E.g. add all extra lantiq packages for your ar71xx build as "m" so that they are available there.

@hnyman @jow thanks for the fast reply.
I have already seen this in the distfeeds.conf file.
Normally i am building my images with the ImageBuilder.
But during development i want to install packages from the feeds.

If i do it the lede way do i need then 2 Buildbot instances for phase1 and phase2?