-ifeq ($(strip$(BOARD_NAME)),at91rm9200df)
+ifeq ($(BOARD_NAME),at91rm9200df)
LINUX_BOARD_NAME=at91rm9200ek
BR2_PACKAGE_BUSYBOX_CONFIG:=$(BR2_BOARD_PATH)/busybox-1.6.0.config
endif
-ifeq ($(strip$(BOARD_NAME)),at91rm9200ek)
+ifeq ($(BOARD_NAME),at91rm9200ek)
BR2_PACKAGE_BUSYBOX_CONFIG:=$(BR2_BOARD_PATH)/busybox-1.6.0.config
endif
-ifeq ($(strip$(BOARD_NAME)),at91sam9260dfc)
+ifeq ($(BOARD_NAME),at91sam9260dfc)
LINUX26_BOARD_NAME=at91sam9260ek
BR2_PACKAGE_BUSYBOX_CONFIG:=$(BR2_BOARD_PATH)/busybox-1.6.0.config
endif
-
-
-ifeq ($(strip $(BOARD_NAME)),at91sam9261ek)
+ifeq ($(BOARD_NAME),at91sam9261ek)
BR2_PACKAGE_BUSYBOX_CONFIG:=$(BR2_BOARD_PATH)/busybox-1.6.0.config
endif
-ifeq ($(strip $(BOARD_NAME)),at91sam9263ek)
+ifeq ($(BOARD_NAME),at91sam9263ek)
BR2_PACKAGE_BUSYBOX_CONFIG:=$(BR2_BOARD_PATH)/busybox-1.6.0.config
endif
-ATNGW100_PATH=target/device/Atmel/atngw100
-
+ifeq ($(BOARD_NAME),atngw100)
#BR2_PACKAGE_BUSYBOX_CONFIG=$(ATNGW100_PATH)/busybox.config
#UCLIBC_CONFIG_FILE=target/device/Atmel/uClibc.config.$(ARCH)
-TARGET_SKELETON=$(ATNGW100_PATH)/target_skeleton
-TARGET_DEVICE_TABLE=$(ATNGW100_PATH)/device_table.txt
+TARGET_SKELETON=$(BOARD_PATH)/target_skeleton
+TARGET_DEVICE_TABLE=$(BOARD_PATH)/device_table.txt
ifeq ($(strip $(BR2_PACKAGE_LINUX)),y)
#LINUX26_FORMAT=uImage
-#LINUX26_KCONFIG=$(ATNGW100_PATH)/linux26.config
+#LINUX26_KCONFIG=$(BOARD_PATH)/linux26.config
+endif
endif
-ATSTK1002_PATH=target/device/Atmel/atstk1002
-
+ifeq ($(BOARD_NAME),atstk1002)
#BR2_PACKAGE_BUSYBOX_CONFIG=$(ATSTK1000_PATH)/busybox.config
#UCLIBC_CONFIG_FILE=target/device/Atmel/uClibc.config.$(ARCH)
-TARGET_SKELETON=$(ATSTK1002_PATH)/target_skeleton
-TARGET_DEVICE_TABLE=$(ATSTK1002_PATH)/device_table.txt
+TARGET_SKELETON=$(BOARD_PATH)/target_skeleton
+TARGET_DEVICE_TABLE=$(BOARD_PATH)/device_table.txt
ifeq ($(strip $(BR2_PACKAGE_LINUX)),y)
#LINUX26_FORMAT=uImage
-#LINUX26_KCONFIG=$(ATSTK1000_PATH)/linux26.atstk1002.config
+#LINUX26_KCONFIG=$(BOARD_PATH)/linux26.atstk1002.config
+endif
endif