Prerequisites:
- You must have checked out the OpenWrt build-system first.
- The toplevel build dir (TOPDIR) in this howto is ~/trunk
1) Clone the feeds file
cp -fpR feeds.conf.default feeds.conf
2) Add our custom feed
echo "src-link custom ../myfeed" >> feeds.conf
3) Get the Makefiles to add exFat support
mkdir -p myfeed/exfat/files
wget -O myfeed/exfat/Makefile http://enduser.subsignal.org/~trondah/tree/myfeed/exfat/Makefile
wget -O myfeed/exfat/files/Makefile http://enduser.subsignal.org/~trondah/tree/myfeed/exfat/files/Makefile
4) Install our custom feed and the exfat package
./scripts/feeds install -p custom
./scripts/feeds update custom -i
./scripts/feeds install exfat
5) Build exFat support into the image
mkdir -p ~/.openwrt
cat > ~/.openwrt/defconfig <<EOF
CONFIG_PACKAGE_exfat=y
CONFIG_PACKAGE_exfat-utils=y
EOF
6) rebuild OpenWrt
make defconfig
make V=s
Result:
ll -h bin/ar71xx/packages/ex*
-rw-r--r-- 1 openwrt openwrt 20K Jul 16 16:31 bin/ar71xx/packages/exfat-utils_r287-1_ar71xx.ipk
-rw-r--r-- 1 openwrt openwrt 22K Jul 16 16:31 bin/ar71xx/packages/exfat_r287-1_ar71xx.ipk
(Last edited by written_direcon on 18 Jul 2013, 23:26)