OpenWrt Forum Archive

Topic: OpenWrt-SDK-Linux-i686-1.tar.bz2 does not build

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I am trying to build a clean image to experiment with.  The first thing I want to do is build a plain image.

Downloaded OpenWrt-SDK-Linux-i686-1.tar.bz2 and uncompressed with:
     tar jxf  OpenWrt-SDK-Linux-i686-1.tar.bz2
Opened README.SDK and got this:
  This is the OpenWrt SDK. It contains a stripped-down version of
  the buildroot. You can use it to test/develop packages without
  having to compile your own toolchain or any of the libraries
  included with OpenWrt.

  To use it, just put your buildroot-compatible package directory
  in the subdir 'package/' and run 'make' from this directory.

Entered 'make' as per directions and got this:
$ make
(cd /src/OpenWRT/RC5/Openwrt_5/bin/packages; \
        /src/OpenWRT/RC5/Openwrt_5/staging_dir_mipsel/usr/bin/ipkg-make-index . > Packages \ )
/bin/bash: line 1: cd: /src/OpenWRT/RC5/Openwrt_5/bin/packages: No such file or directory

Then I did :
  $ mkdir bin
  $ mkdir bin/packages
  $ make

And got this:
  (cd /src/OpenWRT/RC5/Openwrt_5/bin/packages; \
        /src/OpenWRT/RC5/Openwrt_5/staging_dir_mipsel/usr/bin/ipkg-make-index . > Packages \  )

Thats all I get.

The directions don't seem to work!  What now??  Any help?

The SDK is not for building images (the SDK builds only packages) .. Either use the Image Builder or the buildroot to create your own images...

Please, read the documentation!

The discussion might have continued from here.