Skip to content
Snippets Groups Projects
Commit a1e7d456 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

Make the config variable setting code a bit nicer

parent 4e1f3d4f
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,11 @@ feeds: FORCE ...@@ -135,7 +135,11 @@ feeds: FORCE
+$(GLUONMAKE) refresh_feeds V=s$(OPENWRT_VERBOSE) +$(GLUONMAKE) refresh_feeds V=s$(OPENWRT_VERBOSE)
config: FORCE config: FORCE
echo -e 'CONFIG_TARGET_$(BOARD)=y\nCONFIG_TARGET_ROOTFS_JFFS2=n\n$(subst ${space},\n,$(patsubst %,CONFIG_PACKAGE_%=m,$(sort $(GLUON_DEFAULT_PACKAGES) $(GLUON_SITE_PACKAGES) $(PROFILE_PACKAGES))))' > .config echo \
'CONFIG_TARGET_$(BOARD)=y' \
'CONFIG_TARGET_ROOTFS_JFFS2=n' \
'$(patsubst %,CONFIG_PACKAGE_%=m,$(sort $(GLUON_DEFAULT_PACKAGES) $(GLUON_SITE_PACKAGES) $(PROFILE_PACKAGES)))' \
| sed -e 's/ /\n/g' > .config
$(_SINGLE)$(SUBMAKE) defconfig OPENWRT_BUILD= $(_SINGLE)$(SUBMAKE) defconfig OPENWRT_BUILD=
.config: .config:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment