- Jun 14, 2015
-
-
nbd authored
Currently "make clean" only clears the build_dir/target*, but leaves staging_dir/target* intact. "make clean" should also clean the staging_dir/target* directories, as in the current situation some old packages or libraries may be linked into the firmware from staging_dir despite a "make clean". The patch reorganises clean / dirclean functionality so that * "make clean" also clears the staging_dir/target* in addition to build_dir/target*. * "make dirclean" clears toolchain and host(=tools) directories from both build_dir and staging_dir signed-off-by:
Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45973 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- May 23, 2015
-
-
blogic authored
Makefile: remove non-existent STAGING_DIR_TOOLCHAIN from dirclean Openwrt's top level Makefile uses STAGING_DIR_TOOLCHAIN in the make dirclean statement. https://dev.openwrt.org/browser/trunk/Makefile#L55 rm -rf $(STAGING_DIR) $(STAGING_DIR_HOST) $(STAGING_DIR_TOOLCHAIN) $(TOOLCHAIN_DIR) $(BUILD_DIR_HOST) $(BUILD_DIR_TOOLCHAIN) As far as I can determine, no such variable has been defined. I made a search in Openwrt source repository and the one line in Makefile's dirclean command is the only place where that variable exists. The item has been introduced to Makefile by r8362, but even at that time neither Makefile nor rules.mk defined such a variable. Most likely the goal has been to set both staging_dir/toolchain and build_dir/toolchain to be cleaned, but one of the variables has been erroneous. The correct variable for build_dir/toolchain has been then added by r13494. References: https://dev.openwrt.org/changeset/8362/ https://dev.openwrt.org/browser/trunk/Makefile?rev=8362 https://dev.openwrt.org/browser/trunk/rules.mk?rev=8362 https://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html https://dev.openwrt.org/changeset/13494 In current code, TOOLCHAIN_DIR = $(TOPDIR)/staging_dir/$(TOOLCHAIN_DIR_NAME) BUILD_DIR_TOOLCHAIN = $(TOPDIR)/build_dir/$(TOOLCHAIN_DIR_NAME) so the item STAGING_DIR_TOOLCHAIN in the rm command is unnecessary. signed-off-by:
Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45736 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- May 10, 2015
-
-
nbd authored
Most of the time, we want to make sure OpenWrt has been configured and setup before start running make. However, in case of package/symlinks, forcing prereq as a dependency creates multiple issues: *when executed on a clean workspace, it will prompt for user input and open a menuconfig window before executing the feeds command *the only way around that is to provide a .config. However, the "prereq" target would then run a "make defconfig", which will remove all the packages in the .config but from external feeds, as feeds have not been installed yet. The only way to currently work around this, is to generate a fake config by running "make defconfig", then "make package/symlinks", copy the real config (which at this point disregards the previously generated config), and run make defconfig again. Something like this: make defconfig make package/symlinks cp real.config .config make defconfig This change is removing the need for the first defconfig, making the process more logical for OpenWrt users using the package/symlinks target. Signed-off-by:
Mathieu Olivari <mathieu@qca.qualcomm.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45657 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Mar 28, 2015
-
-
nbd authored
Signed-off-by:
Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45090 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Oct 22, 2014
-
-
nbd authored
This seems to cause issues on some build hosts, and it is not that important. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43025 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
nbd authored
Signed-off-by:
Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43021 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Mar 21, 2014
-
-
nbd authored
Signed-off-by:
Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39981 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Dec 02, 2012
-
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34451 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Oct 21, 2012
-
-
nbd authored
Makefile: add a check to bail out early when the path to the openwrt directory contains spaces (#12344) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33884 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Oct 15, 2012
-
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33777 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Oct 06, 2012
-
-
nbd authored
build: rework the package/install step - collect package install lists during package/compile, then install all packages at once git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33631 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Jan 19, 2012
-
-
jow authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29798 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Sep 01, 2010
-
-
nbd authored
add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Aug 01, 2010
-
-
florian authored
When using GREP_OPTIONS to supply default options to grep, the buildsystem might get broken (For example adding --color=always breaks it) This patch will empty the GREP_OPTIONS to prevent the described (and any other) problems related to GREP_OPTIONS Signed-off-by:
Maarten Bezemer <m.m.bezemer@utwente.nl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22443 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- May 28, 2009
-
-
nbd authored
add a "make prepare" target which builds everything up to target/compile, useful for scripts/deptest.sh git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16153 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
ralph authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16148 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Mar 03, 2009
-
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14737 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Dec 03, 2008
-
-
nico authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13494 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Aug 16, 2008
-
-
nbd authored
and add back support for parallelizing the kernel build fixes #3882 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12322 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Aug 05, 2008
-
-
nbd authored
make package prereq checks behave more like build prereq checks (first check all, then fail if necessary), also make them less verbose git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12106 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Jun 09, 2008
-
-
nbd authored
large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11414 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Mar 20, 2008
-
-
ralph authored
introduce new package/symlinks-install and package/symlinks-clean targets - package/symlink-install will re-create the index files and the symlinks for all ./feeds (no update from repositories is performed) - package/symlink-clean will delete all installed symlinks (keeping the ./feeds untouched) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10634 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Dec 28, 2007
-
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9990 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Dec 04, 2007
-
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9655 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Nov 04, 2007
-
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9495 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Oct 14, 2007
-
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9301 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Sep 15, 2007
-
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8780 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Sep 08, 2007
-
-
nbd authored
major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Aug 30, 2007
-
-
nbd authored
clean up recursive dependency handling, use timestamp.pl again, because it saves memory and execution time git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8558 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Aug 07, 2007
-
-
nbd authored
build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Aug 01, 2007
-
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8293 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Jul 31, 2007
-
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8251 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Jul 30, 2007
-
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8242 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8236 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8235 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8227 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Jul 28, 2007
-
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8207 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8206 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
nbd authored
initial attempt at cleaning up subdirectory handling. tools/Makefile is now being included instead of recursively called git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8201 3c298f89-4303-0410-b956-a3cf2f4a3e73
-
- Jul 16, 2007
-
-
nbd authored
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8003 3c298f89-4303-0410-b956-a3cf2f4a3e73
-