Rev 109 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
Welcome to CrisOs DarwinFox building system*************************************************http://crisos.org1. Introduction - What is it CrisOs?2. Bulding system3. Patch system4. Typical usage5. Contibute1. Introduction - What is it CrisOs?-------------------CrisOs isn't an OpenWrt fork!This project help us to keep a stable building enviroment over OpenWrtchanges, personalize the firmware and integrate some dirty workaround.2. Building system-------------------The OpenWrt system is well documented under openwrt/doc and will notaddressed in this readme.The darwinfox system have this directory layout:darwinfox|--- helper - this dir contain some script|--- openwrt - contains the latest openwrt version\--- patches - contains crisos patchesThe darwinfox building system introduce some aliases and a simple patchesmanager.The building system command are:svn update - Update the crisos enviromentmake patch - Apply crisos changes to openwrtmake revert - Disapply ALL openwrt changes, this include crisospatches and your own change!!make update - Update the openwrt version.BEWARE: To prevent conflict during update make revert ispreviously called.Other useful target are:make install_feed - Install all openwrt ported programs from feeds(See also How to add crisos feed)3. Patch system-----------------As discussed in 2 using 'make patch' all files under patches/ areapplied to openwrt/BEWARE: To prevent possible error due to previously applied patches ALLthe changesinside openwrt/ are reverted before applying patches!For save your change BEFORE patch the openwrt with new set of patches saveyour change as follows:1) enter the openwrt directory2) make your change to one or more file3) save this change using:svn diff <file1> ... > ../patches/<num>-<name>.patchwhere:<num> is a three digit number used for sort the patches<name> is a descriptive nameUse this method for save your change!4. Typical use-----------------Typically you should follow this steps:* svn co svn://svn.tuxfamily.org/svnroot/crisos/svn/target/darwinfox* cd darwinfox* make patch <-- this apply the patches with crisos configuration* make mcm <-- ONLY IF YOU HAVE A MCM FOXBOARD* make menuconfig <-- choice Foxboard and wanted apps* make (good luck :p )* make flash <-- flash your fox trough eth0 interface6. Contribute-----------------Any kind of support is welcome!If you discover a bug or do you like to contribute to CrisOs please joinmailing list, use IRC channel #crisos@freenode, report issue on bug systemhttp://crisos.org/flyspray/ and shares your patches.