aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-05-10 11:17:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-05-10 11:17:29 +0000
commit58683312140cb2cd0e0c4aa3163bfaae0d211aff (patch)
tree6aa6b71d061f9d792646024ccddf4cb7cdb99e58 /tools
parent2a9ebfb50391351ba353872678e71bd20d5b10e4 (diff)
downloadupstream-58683312140cb2cd0e0c4aa3163bfaae0d211aff.tar.gz
upstream-58683312140cb2cd0e0c4aa3163bfaae0d211aff.tar.bz2
upstream-58683312140cb2cd0e0c4aa3163bfaae0d211aff.zip
build: don't call prereq for any package/symlinks rules
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> SVN-Revision: 45657
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions