Some work towards multi-target support
This commit is contained in:
parent
379c293b8d
commit
3b8ad88ce4
17
Makefile
17
Makefile
@ -172,14 +172,15 @@ feeds: FORCE
|
|||||||
+$(GLUONMAKE) refresh_feeds V=s$(OPENWRT_VERBOSE)
|
+$(GLUONMAKE) refresh_feeds V=s$(OPENWRT_VERBOSE)
|
||||||
|
|
||||||
config: FORCE
|
config: FORCE
|
||||||
echo \
|
( \
|
||||||
'CONFIG_TARGET_$(BOARD)=y' \
|
cat $(GLUONDIR)/include/config $(GLUONDIR)/targets/$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))/config; \
|
||||||
'CONFIG_TARGET_ROOTFS_JFFS2=n' \
|
echo '$(patsubst %,CONFIG_PACKAGE_%=m,$(sort $(filter-out -%,$(GLUON_DEFAULT_PACKAGES) $(GLUON_SITE_PACKAGES) $(PROFILE_PACKAGES))))' \
|
||||||
'CONFIG_BUSYBOX_CONFIG_SHA512SUM=y' \
|
| sed -e 's/ /\n/g'; \
|
||||||
'CONFIG_ATH_USER_REGD=y' \
|
) > $(BOARD_BUILDDIR)/config
|
||||||
'$(patsubst %,CONFIG_PACKAGE_%=m,$(sort $(GLUON_DEFAULT_PACKAGES) $(GLUON_SITE_PACKAGES) $(PROFILE_PACKAGES)))' \
|
+$(NO_TRACE_MAKE) scripts/config/conf
|
||||||
| sed -e 's/ /\n/g' > .config
|
scripts/config/conf -D $(BOARD_BUILDDIR)/config -w $(BOARD_BUILDDIR)/config Config.in
|
||||||
$(_SINGLE)$(SUBMAKE) defconfig OPENWRT_BUILD=
|
|
||||||
|
ln -sf $(BOARD_BUILDDIR)/config .config
|
||||||
|
|
||||||
.config:
|
.config:
|
||||||
+$(GLUONMAKE) config
|
+$(GLUONMAKE) config
|
||||||
|
2
include/config
Normal file
2
include/config
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
CONFIG_BUSYBOX_CONFIG_SHA512SUM=y
|
||||||
|
CONFIG_ATH_USER_REGD=y
|
2
targets/ar71xx-generic/config
Normal file
2
targets/ar71xx-generic/config
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
CONFIG_TARGET_ar71xx=y
|
||||||
|
CONFIG_TARGET_ROOTFS_JFFS2=n
|
Loading…
Reference in New Issue
Block a user