mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
barebox/u-boot/linux: don't error out on missing config when make source
As it breaks 'make allyesconfig; make source', used for the source mirror. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
a70d443483
commit
3e5e39a8a2
@ -53,9 +53,11 @@ barebox: $(BAREBOX_DIR)/.installed
|
|||||||
ifeq ($(BR2_TARGET_BAREBOX),y)
|
ifeq ($(BR2_TARGET_BAREBOX),y)
|
||||||
TARGETS+=barebox
|
TARGETS+=barebox
|
||||||
|
|
||||||
# we NEED a board defconfig file
|
# we NEED a board defconfig file unless we're at make source
|
||||||
|
ifeq ($(filter source,$(MAKECMDGOALS)),)
|
||||||
ifeq ($(BAREBOX_BOARD_DEFCONFIG),)
|
ifeq ($(BAREBOX_BOARD_DEFCONFIG),)
|
||||||
$(error No Barebox defconfig file. Check your BR2_TARGET_BAREBOX_BOARD_DEFCONFIG setting)
|
$(error No Barebox defconfig file. Check your BR2_TARGET_BAREBOX_BOARD_DEFCONFIG setting)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -193,9 +193,11 @@ u-boot-configured: $(U_BOOT_DIR)/.header_modified
|
|||||||
ifeq ($(BR2_TARGET_UBOOT),y)
|
ifeq ($(BR2_TARGET_UBOOT),y)
|
||||||
TARGETS+=u-boot
|
TARGETS+=u-boot
|
||||||
|
|
||||||
# we NEED a board name
|
# we NEED a board name unless we're at make source
|
||||||
|
ifeq ($(filter source,$(MAKECMDGOALS)),)
|
||||||
ifeq ($(U_BOOT_BOARD_NAME),)
|
ifeq ($(U_BOOT_BOARD_NAME),)
|
||||||
$(error NO U-Boot board name set. Check your BR2_TARGET_UBOOT_BOARDNAME setting)
|
$(error NO U-Boot board name set. Check your BR2_TARGET_UBOOT_BOARDNAME setting)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -159,6 +159,7 @@ TARGETS+=linux26
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Checks to give errors that the user can understand
|
# Checks to give errors that the user can understand
|
||||||
|
ifeq ($(filter source,$(MAKECMDGOALS)),)
|
||||||
ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y)
|
ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y)
|
||||||
ifeq ($(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG)),)
|
ifeq ($(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG)),)
|
||||||
$(error No kernel defconfig name specified, check your BR2_LINUX_KERNEL_DEFCONFIG setting)
|
$(error No kernel defconfig name specified, check your BR2_LINUX_KERNEL_DEFCONFIG setting)
|
||||||
@ -169,4 +170,6 @@ ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y)
|
|||||||
ifeq ($(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE)),)
|
ifeq ($(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE)),)
|
||||||
$(error No kernel configuration file specified, check your BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE setting)
|
$(error No kernel configuration file specified, check your BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE setting)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user