From d23fa95f41cd5658a5283b4768fc76d5b034568c Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Sat, 11 Aug 2007 23:09:34 +0000 Subject: [PATCH] Cleanup Atmel boards --- target/device/Atmel/at91rm9200df/Makefile.in | 4 ++-- target/device/Atmel/at91sam9260dfc/Makefile.in | 4 +--- target/device/Atmel/at91sam9261ek/Makefile.in | 2 +- target/device/Atmel/at91sam9263ek/Makefile.in | 2 +- target/device/Atmel/atngw100/Makefile.in | 10 +++++----- target/device/Atmel/atstk1002/Makefile.in | 10 +++++----- 6 files changed, 15 insertions(+), 17 deletions(-) diff --git a/target/device/Atmel/at91rm9200df/Makefile.in b/target/device/Atmel/at91rm9200df/Makefile.in index 3eb1e9ae94..81cdd50f59 100644 --- a/target/device/Atmel/at91rm9200df/Makefile.in +++ b/target/device/Atmel/at91rm9200df/Makefile.in @@ -1,10 +1,10 @@ -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 diff --git a/target/device/Atmel/at91sam9260dfc/Makefile.in b/target/device/Atmel/at91sam9260dfc/Makefile.in index 9c15e48cf4..7b095df1b1 100644 --- a/target/device/Atmel/at91sam9260dfc/Makefile.in +++ b/target/device/Atmel/at91sam9260dfc/Makefile.in @@ -1,6 +1,4 @@ -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 - - diff --git a/target/device/Atmel/at91sam9261ek/Makefile.in b/target/device/Atmel/at91sam9261ek/Makefile.in index 32839bc454..0d716ba4b3 100644 --- a/target/device/Atmel/at91sam9261ek/Makefile.in +++ b/target/device/Atmel/at91sam9261ek/Makefile.in @@ -1,3 +1,3 @@ -ifeq ($(strip $(BOARD_NAME)),at91sam9261ek) +ifeq ($(BOARD_NAME),at91sam9261ek) BR2_PACKAGE_BUSYBOX_CONFIG:=$(BR2_BOARD_PATH)/busybox-1.6.0.config endif diff --git a/target/device/Atmel/at91sam9263ek/Makefile.in b/target/device/Atmel/at91sam9263ek/Makefile.in index 1bfe10489e..d21e387878 100644 --- a/target/device/Atmel/at91sam9263ek/Makefile.in +++ b/target/device/Atmel/at91sam9263ek/Makefile.in @@ -1,3 +1,3 @@ -ifeq ($(strip $(BOARD_NAME)),at91sam9263ek) +ifeq ($(BOARD_NAME),at91sam9263ek) BR2_PACKAGE_BUSYBOX_CONFIG:=$(BR2_BOARD_PATH)/busybox-1.6.0.config endif diff --git a/target/device/Atmel/atngw100/Makefile.in b/target/device/Atmel/atngw100/Makefile.in index 2f304f14de..f45c599c19 100644 --- a/target/device/Atmel/atngw100/Makefile.in +++ b/target/device/Atmel/atngw100/Makefile.in @@ -1,12 +1,12 @@ -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 diff --git a/target/device/Atmel/atstk1002/Makefile.in b/target/device/Atmel/atstk1002/Makefile.in index 8489e915de..a818ff72f2 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 -- 2.30.2