summaryrefslogtreecommitdiffstats
path: root/target/device/Atmel/at91sam9260dfc/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'target/device/Atmel/at91sam9260dfc/Makefile.in')
-rw-r--r--target/device/Atmel/at91sam9260dfc/Makefile.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/target/device/Atmel/at91sam9260dfc/Makefile.in b/target/device/Atmel/at91sam9260dfc/Makefile.in
index ab200cc61..b3a4d2447 100644
--- a/target/device/Atmel/at91sam9260dfc/Makefile.in
+++ b/target/device/Atmel/at91sam9260dfc/Makefile.in
@@ -1,18 +1,22 @@
ifeq ($(strip $(BOARD_NAME)),at91sam9260dfc)
LINUX26_BOARD_NAME=at91sam9260ek
-BR2_PACKAGE_BUSYBOX_CONFIG:=$(BOARD_PATH)/busybox-1.9.1.config
+ifeq ($(U_BOOT_VERSION),1.2.0-atmel)
+UBOOT_BOARD_NAME:=at91sam9260dfc
+else
ifneq ($(BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD),)
UBOOT_BOARD_NAME:=at91sam9260ek_dataflash_cs0
-else
-UBOOT_BOARD_NAME:=at91sam9260ek_dataflash_cs0x
endif
+
ifneq ($(BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH),)
UBOOT_BOARD_NAME:=at91sam9260ek_dataflash_cs1
endif
+
ifneq ($(BR2_TARGET_UBOOT_BOOTSOURCE_NANDFLASH),)
UBOOT_BOARD_NAME:=at91sam9260ek_nandflash
endif
endif
+endif
+