OpenWRT: Build Firmware: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
No edit summary
Onnowpurbo (talk | contribs)
No edit summary
Line 2: Line 2:
* https://forum.openwrt.org/viewtopic.php?id=15201
* https://forum.openwrt.org/viewtopic.php?id=15201
* http://wiki.openwrt.org/doc/howto/build
* http://wiki.openwrt.org/doc/howto/build
* http://downloads.openwrt.org/docs/buildroot-documentation.html


==Menggunakan SVN==
==Menggunakan SVN==
Line 51: Line 52:


* https://forum.openwrt.org/viewtopic.php?id=15201
* https://forum.openwrt.org/viewtopic.php?id=15201
* http://wiki.openwrt.org/doc/howto/build
* http://downloads.openwrt.org/docs/buildroot-documentation.html


==Pranala Menarik==
==Pranala Menarik==

Revision as of 23:11, 21 July 2012

Sumber:

Menggunakan SVN

svn checkout https://svn.openwrt.org/openwrt/trunk/ ~/trunk/
cd ~/trunk/
./scripts/feeds update
./scripts/feeds install <pkg_name_1> <pkg_name_2> ... <pkg_name_N> # After installing the package (creates the symlink for you, you can select it in menuconfig)
make menuconfig # Choose your Target System/Subtarget/Target Profile and select packages/features
make world

Update SVN

cd ~/trunk/
svn update
./scripts/feeds update


Menggunakan GIT

git clone git://nbd.name/openwrt.git ~/trunk/
cd ~/trunk/
./scripts/feeds update # You have to change feeds.conf to use the git packages repo. See the patch below.
./scripts/feeds install <pkg_name_1> <pkg_name_2> ... <pkg_name_N> # After installing the package (creates the symlink for you, you can select it in menuconfig)
make menuconfig # Choose your Target System/Subtarget/Target Profile and select packages/features
make world

Update GIT

cd ~/trunk/
git pull
./scripts/feeds update


Tips

You should specify which chipset you are using. But on your target/linux/chipname/, there should be a makefile that tells you which build you are supposed to build.

For my case it was in kamikaze/target/linux/atheros/Makefile.

LINUX_VERSION:=2.6.23.17 <-- just change this to whatever is your rev is you probably need to know the subversion.



Referensi

Pranala Menarik