at91: fix build error for wb50n.
when external kernel is selected from menuconfig, device wb50n is not avaliable and build fails. As a fix adding checks for external kernel. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
This commit is contained in:
parent
c0574d08da
commit
80fe9bd71c
@ -71,7 +71,9 @@ define Device/at91-sama5d4_xplained
|
|||||||
endef
|
endef
|
||||||
TARGET_DEVICES += at91-sama5d4_xplained
|
TARGET_DEVICES += at91-sama5d4_xplained
|
||||||
|
|
||||||
define Device/wb50n
|
ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
|
||||||
|
ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
|
||||||
|
define Device/wb50n
|
||||||
$(Device/evaluation-fit)
|
$(Device/evaluation-fit)
|
||||||
DEVICE_TITLE := Laird WB50N
|
DEVICE_TITLE := Laird WB50N
|
||||||
DEVICE_PACKAGES := \
|
DEVICE_PACKAGES := \
|
||||||
@ -82,5 +84,7 @@ define Device/wb50n
|
|||||||
PAGESIZE := 2048
|
PAGESIZE := 2048
|
||||||
SUBPAGESIZE := 2048
|
SUBPAGESIZE := 2048
|
||||||
MKUBIFS_OPTS := -m $$(PAGESIZE) -e 124KiB -c 955
|
MKUBIFS_OPTS := -m $$(PAGESIZE) -e 124KiB -c 955
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += wb50n
|
TARGET_DEVICES += wb50n
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user