[OpenWrt-Devel] [PATCH] build-system: allow to call clean target from source makefile

2012-11-20 Thread Roman Yeryomin
Allow to call clean target from source makefile with package/name/cleansrc. Useful when developing a package on-site. Signed-off-by: Roman Yeryomin ro...@advem.lv diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 45a92cf..a2af1e5 100644 ---

Re: [OpenWrt-Devel] [PATCH] build-system: allow to call clean target from source makefile

2012-11-20 Thread John Crispin
On 20/11/12 14:35, Roman Yeryomin wrote: Allow to call clean target from source makefile with package/name/cleansrc. Useful when developing a package on-site. Signed-off-by: Roman Yeryomin ro...@advem.lv mailto:ro...@advem.lv Hi, what do you need this for ? a more elaborate description would

Re: [OpenWrt-Devel] [PATCH] build-system: allow to call clean target from source makefile

2012-11-20 Thread Roman Yeryomin
When developing/debugging a package I would like to make change/compile/try cycle to be shorter. Of cause you can do something like: - edit/save the code - cd build_dir/target_something/package - make clean - rm -f .built* - cd - - make package/name/compile but this looks and feels much nicer and