Here is a brief summary of the steps:
1) Have a linux "host" system (dedicated or VM) 2) Install all prerequisites for OpenWrt build environment (refer to wiki) 3) Create a base directory and do an svn checkout of openwrt a) mkdir ~/openwrt && cd ~/openwrt b) svn co svn://svn.openwrt.org/openwrt/trunk/ c) cd trunk 4) Update package feeds, download, patch, and install shaiport package a) ./scripts/feeds update -a b) wget -O shairport.patch http://pastebin.com/raw.php?i=Lh8ae4hx c) echo "" >> shairport.patch d) patch -p0 < shairport.patch e) ./scripts/feeds update -a f) ./scripts/feeds install shairport 5) Generate the initial configuration and confirm build environment prerequisites a) make defconfig b) Repeat a) and install any missing host packages until there are no errors on "make defconfig" 6) Select your target and add shairport to your build configuration a) make menuconfig b) Select appropriate "Target system", e.g. Atheros AR71xx/AR...... c) Select appropriate "Target Profile", e.g. Buffalo WZR-HP-G30XNH d) Select Sound --> shairport (highlight shairport and press "m" to build shairport as a package) e) Exit and save configuration 7) Build image and packages a) make b) If you encounter an error rerun with "make V=99" for verbose output c) After a successful build images and packages will be under ~/openwrt/trunk/bin
This is mostly from memory so be sure to read the wiki for full details and better understanding of what is going on. Essential reading:
http://wiki.openwrt.org/doc/howto/buildroot.exigence
http://wiki.openwrt.org/doc/howto/build
https://dev.openwrt.org/wiki/GetSource
I tried following the steps listed here to install on my TP-Link TL-WR1043ND and ran into an issue and have a couple questions..
- The URL for the shairport.patch appears to be broken, file not found on pastebin. I think I found a newer version of the file here: http://pastebin.com/download.php?i=DknUpn7f but get the following errors:
patching file feeds/packages/libs/libao/Makefile
Hunk #2 FAILED at 8.
Hunk #4 FAILED at 57.
- Will the image with shairport fit in the 8MB flash on the router that i have?
- This post has been around for a while, is there an updated set of directions to install this?
Thanks in advance!!
(Last edited by mrdragon1 on 8 Jul 2012, 15:28)