Hey,
It seems I'm really a noob, I tried following this tutorial:
http://wiki.openwrt.org/doc/devel/patches
But I just dont get it to work to add a new patch. I would really appreciate some help.
So for downloading OpenWRT I do as described here:
http://wiki.openwrt.org/toh/mikrotik/rb91xg_5hpnd
$ mkdir /home/$USER/mikrotik/
$ cd /home/$USER/mikrotik/
$ svn co svn://svn.openwrt.org/openwrt/trunk/
$ cd /home/$USER/mikrotik/trunkThen I type
cat > ~/.quiltrc <<EOF
QUILT_DIFF_ARGS="--no-timestamps --no-index -pab --color=auto"
QUILT_REFRESH_ARGS="--no-timestamps --no-index -pab"
QUILT_PATCH_OPTS="--unified"
QUILT_DIFF_OPTS="-p"
EDITOR="nano"
EOFI want to edit the file tx.c in the package kernel/mac80211 so I type
make package/kernel/mac80211/{clean,prepare} V=s QUILT=1In the gui I set the values which are described at the wiki page of my routerboard. Then I save the .config.
Then I go into built_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_mikrotik/compat-wireless-2014-05-22/net/mac80211 folder and edit the tx.c and insert the code I want to have in there.
In the Wiki there is written I should do the quilt stuff, but it seems it this is just for getting a .patch file which automatically edits a file... Is manually editing the file like I did enough so I dont have to do the quilt stuff?
if not, in the Wiki is written I should go into "cd build_dir/target-*/example-*" and type "quilt push -a" there. But which folder is this "example" folder? I dont find a folder where "quilt push -a" works.
If I now go into the trunk folder and type make, does it automatically use the changed tx.c file while its compiling?
(Last edited by Ephisray on 30 Aug 2014, 23:01)
