mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
Resolves Bug #182 for buildroot. It works nice to pull in default
configuration files for targets. More information on the bug database page at <http://bugs.uclibc.org/view.php?id=182>.
This commit is contained in:
parent
9399740475
commit
0c1e709edb
7
Makefile
7
Makefile
@ -27,7 +27,8 @@ CONFIG_DEFCONFIG = .defconfig
|
|||||||
CONFIG = package/config
|
CONFIG = package/config
|
||||||
|
|
||||||
noconfig_targets := menuconfig config oldconfig randconfig \
|
noconfig_targets := menuconfig config oldconfig randconfig \
|
||||||
defconfig allyesconfig allnoconfig release tags
|
defconfig allyesconfig allnoconfig release tags \
|
||||||
|
$(shell find . -name *_defconfig |sed 's/.*\///')
|
||||||
|
|
||||||
# Pull in the user's configuration file
|
# Pull in the user's configuration file
|
||||||
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
||||||
@ -184,6 +185,10 @@ allnoconfig: $(CONFIG)/conf
|
|||||||
defconfig: $(CONFIG)/conf
|
defconfig: $(CONFIG)/conf
|
||||||
@$(CONFIG)/conf -d $(CONFIG_CONFIG_IN)
|
@$(CONFIG)/conf -d $(CONFIG_CONFIG_IN)
|
||||||
|
|
||||||
|
%_defconfig: $(CONFIG)/conf
|
||||||
|
cp $(shell find . -name $@) .config
|
||||||
|
@$(CONFIG)/conf -o $(CONFIG_CONFIG_IN)
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
#
|
#
|
||||||
# Cleanup and misc junk
|
# Cleanup and misc junk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user