Memories of `.openwrt/defconfig`?

Being time to dust off and re-examine my config, I'm trying to recall why I have .openwrt/defconfig

Is this cruft, or an undocumented feature I found in the past? If so where is it referenced?

jeff@deb-devel:~/devel/openwrt-ea8300$ cat .openwrt/defconfig 
CONFIG_TARGET_ipq40xx=y
CONFIG_TARGET_ipq40xx_DEVICE_linksys_ea8300=y
CONFIG_TARGET_BOARD="ipq40xx"
CONFIG_DEVEL=y
CONFIG_BUILD_LOG=y
CONFIG_CCACHE=y
CONFIG_DOWNLOAD_FOLDER="/home/jeff/devel/openwrt_dl"

Here in toplevel.mk

  91 .config: ./scripts/config/conf $(if $(CONFIG_HAVE_DOT_CONFIG),,prepare-tmpinfo)
  92         @+if [ \! -e .config ] || ! grep CONFIG_HAVE_DOT_CONFIG .config >/dev/null; then \
  93                 [ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \
  94                 $(_SINGLE)$(NO_TRACE_MAKE) menuconfig $(PREP_MK); \
  95         fi

Ps. But I think that it should be relative to user home directory, not the buildroot topdir.

3 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.