NSLU2-Linux
view · edit · print · history

HowTo.BuildGNUMakeOnYourNSLU2Box History

Hide minor edits - Show changes to markup

January 19, 2005, at 02:45 PM by rwhitby --
Added lines 1-3:

Note that you can now use the instructions at NativelyCompileUnslungPackages to natively compile GNU make directly from the Unslung CVS repository.

November 28, 2004, at 11:30 PM by jsilence --
Changed line 20 from:
    bunzip2 make-3.80.tar.bz2          (bunzip2 comes with Busybox 1.00)\\
to:
    bunzip2 make-3.80.tar.bz2          (bunzip2 comes with BusyBox? 1.00)\\
November 08, 2004, at 05:48 AM by michaelebrownmindspringcom --
Changed lines 9-10 from:

Busybox version 1.00 (potentially optional). Use ipkg to install.

to:

Busybox version 1.00 (potentially optional). Use ipkg to install.
Bzip2 - use ipkg to install.

November 08, 2004, at 04:50 AM by michaelebrownmindspringcom --
Changed line 22 from:

2) Create the make executable, and put it somewhere in your path.

to:

2) Create the make executable, and put it somewhere in your path.

Changed line 31 from:

That's it! Make some more software for the NSLU2!

to:

That's it! Make some more software for the NSLU2!

November 08, 2004, at 04:50 AM by michaelebrownmindspringcom --
Changed line 15 from:

1) Retrieve source code for GNU make, unzip and untar. I did this from my NSLU2 box using the following command:

to:

1) Retrieve source code for GNU make, and then unzip and untar it. I did this from my NSLU2 box using the following command:

November 08, 2004, at 03:55 AM by michaelebrownmindspringcom --
Changed lines 1-31 from:
to:

Goal:

Create a native version of GNU make directly on your NSLU2 Box.

Prerequisites:

Installation of HomePage Unslung?.
Successful completion of NativeNSLU2Toolchain, which provides a development environment on your NSLU2.
Busybox version 1.00 (potentially optional). Use ipkg to install.

Steps:

The instructions for making GNU make are included in README and INSTALL files included in the release. However, this set of instructions are specific for the NSLU2. In addition, the sed command in step 2 takes care of a known bug in release 3.80. All these instructions take place directly on your NSLU2. Don't skip the prerequisites!

1) Retrieve source code for GNU make, unzip and untar. I did this from my NSLU2 box using the following command:

    cd /share/hdd/data
wget ftp://ftp.gnu.org/pub/gnu/make/make-3.80.tar.bz2
bunzip2 make-3.80.tar.bz2 (bunzip2 comes with Busybox 1.00)
tar -xvf make-3.80.tar

2) Create the make executable, and put it somewhere in your path.

    cd make-3.80
./configure (This takes about 7 minutes)
sed -e 's/@REMOTE@/stub/' build.sh >build-fixed.sh (fixes a bug in make 3.80)
sh build-fixed.sh (This takes about 8 minutes)
strip make (Optional)
mv make /usr/bin (Is this where it should be placed?)

That's it! Make some more software for the NSLU2!

view · edit · print · history · Last edited by michaelebrownmindspringcom.
Based on work by michaelebrownmindspringcom and jsilence.
Originally by rwhitby.
Page last modified on April 14, 2005, at 10:26 PM