Hello everyone!

I ported an open source application layer firewall called Zorp to OpenWRT and I would like to create a test environment to ensure it's functionality. After git push there should be an automatic build and then some end-to-end tests, but I stuck on the build phase.

The Zorp package builds fine on my computer, but, I want to use Travis CI to build the package, because Zorp's other projects are in Travis also.
The catch in this, that it has a 50 minute build limit, so I can't build the whole OpenWRT from source.
I thought the SDK is made for this kind of job, so I tried the prebuilt SDK's and my own builds, but all of them fails with the same error.

make[3]: i486-openwrt-linux-uclibc-gcc: Command not found

I also tried with other architecture, but it still doesn't find the toolchain gcc. I even inserted it's directory to PATH but no luck.

The process is simple

  1. Travis downloads the SDK

  2. Extracts it

  3. Upgrades feeds list

  4. Installs Zorp

  5. Downloads .config

  6. make

The difference with Travis and my computer, that in Travis it doesn't run 'make menuconfig', so that's why I upload a .config file and try to use that, but it still can't find the gcc.

Anyone has an idea, how to make the SDK find the toolchain compiler?

Thanks in advance,
Peter