mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
Implement %_defconfig similarly to the kernel
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
dc9dba1509
commit
6f38119cbb
12
Makefile
12
Makefile
@ -29,7 +29,7 @@ CONFIG=package/config
|
|||||||
DATE:=$(shell date +%Y%m%d)
|
DATE:=$(shell date +%Y%m%d)
|
||||||
|
|
||||||
noconfig_targets:=menuconfig gconfig xconfig config oldconfig randconfig \
|
noconfig_targets:=menuconfig gconfig xconfig config oldconfig randconfig \
|
||||||
defconfig allyesconfig allnoconfig release \
|
defconfig %_defconfig allyesconfig allnoconfig release \
|
||||||
randpackageconfig allyespackageconfig allnopackageconfig \
|
randpackageconfig allyespackageconfig allnopackageconfig \
|
||||||
source-check help
|
source-check help
|
||||||
|
|
||||||
@ -553,6 +553,12 @@ defconfig: $(BUILD_DIR)/buildroot-config/conf
|
|||||||
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||||
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< -d $(CONFIG_CONFIG_IN)
|
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< -d $(CONFIG_CONFIG_IN)
|
||||||
|
|
||||||
|
%_defconfig: $(BUILD_DIR)/buildroot-config/conf $(TOPDIR)/configs/%_defconfig
|
||||||
|
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||||
|
@KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
|
||||||
|
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||||
|
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< -D $(TOPDIR)/configs/$@ $(CONFIG_CONFIG_IN)
|
||||||
|
|
||||||
# check if download URLs are outdated
|
# check if download URLs are outdated
|
||||||
source-check: allyesconfig
|
source-check: allyesconfig
|
||||||
$(MAKE) $(EXTRAMAKEARGS) _source-check
|
$(MAKE) $(EXTRAMAKEARGS) _source-check
|
||||||
@ -580,10 +586,6 @@ endif
|
|||||||
flush:
|
flush:
|
||||||
rm -f $(BUILD_DIR)/tgt-config.cache $(BUILD_DIR)/host-config.cache
|
rm -f $(BUILD_DIR)/tgt-config.cache $(BUILD_DIR)/host-config.cache
|
||||||
|
|
||||||
%_defconfig: $(TOPDIR)/configs/%_defconfig
|
|
||||||
cp $^ $(CONFIG_DIR)/.config
|
|
||||||
@$(MAKE) $(EXTRAMAKEARGS) oldconfig
|
|
||||||
|
|
||||||
configured: dirs host-sed kernel-headers uclibc-config busybox-config linux26-config
|
configured: dirs host-sed kernel-headers uclibc-config busybox-config linux26-config
|
||||||
|
|
||||||
prepatch: gcc-patched binutils-patched gdb-patched uclibc-patched
|
prepatch: gcc-patched binutils-patched gdb-patched uclibc-patched
|
||||||
|
Loading…
x
Reference in New Issue
Block a user