summaryrefslogtreecommitdiffstats
path: root/target/device/Atmel/atstk1002
diff options
context:
space:
mode:
Diffstat (limited to 'target/device/Atmel/atstk1002')
-rw-r--r--target/device/Atmel/atstk1002/Makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/device/Atmel/atstk1002/Makefile.in b/target/device/Atmel/atstk1002/Makefile.in
index 8489e915d..a818ff72f 100644
--- a/target/device/Atmel/atstk1002/Makefile.in
+++ b/target/device/Atmel/atstk1002/Makefile.in
@@ -1,12 +1,12 @@
-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