From 4b72854ddeb69855e5f91b640bb75cd73f77528b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 8 Dec 2008 08:15:58 +0000 Subject: target/: get rid of unneeded $(strip ..) --- target/device/AMD/Makefile.in | 2 +- target/device/Atmel/DataFlashBoot/DataflashBoot.mk | 5 +++-- target/device/Atmel/Makefile.in | 22 +++++++++++----------- target/device/Atmel/at91bootstrap/at91bootstrap.mk | 2 +- target/device/Atmel/atngw100-base/Makefile.in | 2 +- target/device/Atmel/atngw100-expanded/Makefile.in | 2 +- target/device/Atmel/atngw100/Makefile.in | 2 +- target/device/Atmel/u-boot/u-boot.mk | 2 +- target/device/Hitachi/Makefile.in | 2 +- target/device/Sharp/Makefile.in | 2 +- target/device/Soekris/Makefile.in | 10 +++++----- target/device/Via/Makefile.in | 4 ++-- target/device/jp/Makefile.in | 2 +- target/device/jp/q5/linux.mk | 2 +- target/device/valka/Makefile.in | 2 +- target/device/x86/Makefile.in | 2 +- 16 files changed, 33 insertions(+), 32 deletions(-) (limited to 'target/device') diff --git a/target/device/AMD/Makefile.in b/target/device/AMD/Makefile.in index 32dd4707f..ab724b554 100644 --- a/target/device/AMD/Makefile.in +++ b/target/device/AMD/Makefile.in @@ -1,5 +1,5 @@ # Override the default uClibc configuration -ifeq ($(strip $(BR2_TARGET_AMD_ALCHEMY_DBAU1500)),y) +ifeq ($(BR2_TARGET_AMD_ALCHEMY_DBAU1500),y) include target/device/AMD/DBAu1500/Makefile.in include target/device/AMD/DBAu1500/linux.mk diff --git a/target/device/Atmel/DataFlashBoot/DataflashBoot.mk b/target/device/Atmel/DataFlashBoot/DataflashBoot.mk index 23930a330..0a2ffcbbc 100644 --- a/target/device/Atmel/DataFlashBoot/DataflashBoot.mk +++ b/target/device/Atmel/DataFlashBoot/DataflashBoot.mk @@ -5,7 +5,8 @@ ############################################################# DATAFLASHBOOT_VERSION:=1.05 DATAFLASHBOOT_NAME:=DataflashBoot-$(DATAFLASHBOOT_VERSION) -ATMEL_MIRROR:=$(strip $(subst ",, $(BR2_ATMEL_MIRROR))) +ATMEL_MIRROR:=$(strip $(subst ",, $(BR2_ATMEL_MIRROR))) +# ")) DATAFLASHBOOT_SITE:=$(ATMEL_MIRROR)/Source DATAFLASHBOOT_SOURCE:=$(DATAFLASHBOOT_NAME).tar.bz2 DATAFLASHBOOT_DIR:=$(PROJECT_BUILD_DIR)/$(DATAFLASHBOOT_NAME) @@ -42,6 +43,6 @@ endif # Toplevel Makefile options # ############################################################# -ifeq ($(strip $(BR2_TARGET_DATAFLASHBOOT)),y) +ifeq ($(BR2_TARGET_DATAFLASHBOOT),y) TARGETS+=dataflash endif diff --git a/target/device/Atmel/Makefile.in b/target/device/Atmel/Makefile.in index 8ad35c62c..117a7c252 100644 --- a/target/device/Atmel/Makefile.in +++ b/target/device/Atmel/Makefile.in @@ -1,11 +1,11 @@ # ******************************************************************* -ifeq ($(strip $(BR2_TARGET_ATMEL)),y) +ifeq ($(BR2_TARGET_ATMEL),y) ATMEL_PATH:=target/device/Atmel -BOARD_NAME:=$(strip $(subst ",, $(BR2_BOARD_NAME))) +BOARD_NAME:=$(strip $(subst ",, $(BR2_BOARD_NAME))) #")) -BOARD_PATH:=$(strip $(subst ",, $(BR2_BOARD_PATH))) +BOARD_PATH:=$(strip $(subst ",, $(BR2_BOARD_PATH))) #")) ATMEL_TARGET:=$(ATMEL_PATH)/root @@ -13,22 +13,22 @@ TARGET_SKELETON:=$(ATMEL_TARGET)/target_skeleton TARGET_DEVICE_TABLE:=$(ATMEL_TARGET)/device_table.txt TARGET_SKELETON_LINKS:=$(ATMEL_TARGET)/skel.tar.gz -TARGET_ATMEL_COPYTO:=$(strip $(subst ",, $(BR2_TARGET_ATMEL_COPYTO))) +TARGET_ATMEL_COPYTO:=$(strip $(subst ",, $(BR2_TARGET_ATMEL_COPYTO))) # These are set by Config.in -DOWNLOAD_LINUX26_VERSION:=$(strip $(subst ",, $(BR2_DOWNLOAD_LINUX26_VERSION))) +DOWNLOAD_LINUX26_VERSION:= $(strip $(subst ",, $(BR2_DOWNLOAD_LINUX26_VERSION))) #")) ifeq ($(DOWNLOAD_LINUX26_VERSION),) DOWNLOAD_LINUX26_VERSION=$(LINUX_HEADERS_VERSION) endif -LINUX26_VERSION:=$(strip $(subst ",, $(BR2_LINUX26_VERSION))) +LINUX26_VERSION:=$(strip $(subst ",, $(BR2_LINUX26_VERSION))) #")) ifeq ($(LINUX26_VERSION),) LINUX26_VERSION=$(LINUX_HEADERS_VERSION) endif -LINUX26_RC_PATCH:=$(strip $(subst ",, $(BR2_LINUX26_RC_PATCH))) +LINUX26_RC_PATCH:=$(strip $(subst ",, $(BR2_LINUX26_RC_PATCH))) #")) # These are set by "new" Config.in @@ -39,7 +39,7 @@ LINUX26_BUILD_DIR:=$(PROJECT_BUILD_DIR) #LINUX26_BINLOC=$(LINUX26_FORMAT) #LINUX26_BINLOC:=$(BINARIES_DIR)/$(LINUX26_KERNEL) -ifeq ($(strip $(BR2_avr32)),y) +ifeq ($(BR2_avr32),y) LINUX26_BINLOC:=arch/$(KERNEL_ARCH)/boot/images/$(BR2_PACKAGE_LINUX_FORMAT) endif @@ -63,15 +63,15 @@ include target/device/Atmel/*/Makefile.in UBOOT_CONFIG:=$(UBOOT_BOARD_NAME)_config UBOOT_CONFIG_FILE:=$(BOARD_PATH)/u-boot/$(UBOOT_BOARD_NAME).h -ifeq ($(strip $(BR2_TARGET_UBOOT_AT91)),y) +ifeq ($(BR2_TARGET_UBOOT_AT91),y) include $(ATMEL_PATH)/u-boot/u-boot.mk endif -ifeq ($(strip $(BR2_TARGET_DATAFLASHBOOT)),y) +ifeq ($(BR2_TARGET_DATAFLASHBOOT),y) include $(ATMEL_PATH)/DataFlashBoot/DataflashBoot.mk endif -ifeq ($(strip $(BR2_TARGET_AT91BOOTSTRAP)),y) +ifeq ($(BR2_TARGET_AT91BOOTSTRAP),y) include $(ATMEL_PATH)/at91bootstrap/at91bootstrap.mk endif diff --git a/target/device/Atmel/at91bootstrap/at91bootstrap.mk b/target/device/Atmel/at91bootstrap/at91bootstrap.mk index 66558107d..facee12f3 100644 --- a/target/device/Atmel/at91bootstrap/at91bootstrap.mk +++ b/target/device/Atmel/at91bootstrap/at91bootstrap.mk @@ -86,6 +86,6 @@ at91bootstrap-dirclean: # Toplevel Makefile options # ############################################################# -ifeq ($(strip $(BR2_TARGET_AT91BOOTSTRAP)),y) +ifeq ($(BR2_TARGET_AT91BOOTSTRAP),y) TARGETS+=at91bootstrap endif diff --git a/target/device/Atmel/atngw100-base/Makefile.in b/target/device/Atmel/atngw100-base/Makefile.in index 5af1ebf9a..c80a0bc2c 100644 --- a/target/device/Atmel/atngw100-base/Makefile.in +++ b/target/device/Atmel/atngw100-base/Makefile.in @@ -1,4 +1,4 @@ -ifeq ($(strip $(BR2_TARGET_AVR32_ATNGW100_BASE)),y) +ifeq ($(BR2_TARGET_AVR32_ATNGW100_BASE),y) ATNGW100_BASE_PATH=target/device/Atmel/atngw100-base TARGET_SKELETON=$(ATNGW100_BASE_PATH)/target_skeleton diff --git a/target/device/Atmel/atngw100-expanded/Makefile.in b/target/device/Atmel/atngw100-expanded/Makefile.in index f7cb822ae..7ea35e02e 100644 --- a/target/device/Atmel/atngw100-expanded/Makefile.in +++ b/target/device/Atmel/atngw100-expanded/Makefile.in @@ -1,4 +1,4 @@ -ifeq ($(strip $(BR2_TARGET_AVR32_ATNGW100_EXPANDED)),y) +ifeq ($(BR2_TARGET_AVR32_ATNGW100_EXPANDED),y) ATNGW100_EXPANDED_PATH=target/device/Atmel/atngw100-expanded TARGET_SKELETON=$(ATNGW100_EXPANDED_PATH)/target_skeleton diff --git a/target/device/Atmel/atngw100/Makefile.in b/target/device/Atmel/atngw100/Makefile.in index 165a2513f..cd506e9e3 100644 --- a/target/device/Atmel/atngw100/Makefile.in +++ b/target/device/Atmel/atngw100/Makefile.in @@ -1,4 +1,4 @@ -ifeq ($(strip $(BR2_TARGET_AVR32_ATNGW100)),y) +ifeq ($(BR2_TARGET_AVR32_ATNGW100),y) ATNGW100_PATH=target/device/Atmel/atngw100 TARGET_SKELETON=$(ATNGW100_PATH)/target_skeleton diff --git a/target/device/Atmel/u-boot/u-boot.mk b/target/device/Atmel/u-boot/u-boot.mk index 0096337a2..cf7b974f1 100644 --- a/target/device/Atmel/u-boot/u-boot.mk +++ b/target/device/Atmel/u-boot/u-boot.mk @@ -247,7 +247,7 @@ ubootroot-dirclean: # Toplevel Makefile options # ############################################################# -ifeq ($(strip $(BR2_TARGET_UBOOT_AT91)),y) +ifeq ($(BR2_TARGET_UBOOT_AT91),y) TARGETS+=uboot endif diff --git a/target/device/Hitachi/Makefile.in b/target/device/Hitachi/Makefile.in index e9af5ebae..73e854d36 100644 --- a/target/device/Hitachi/Makefile.in +++ b/target/device/Hitachi/Makefile.in @@ -1,5 +1,5 @@ # Override the default uClibc configuration -ifeq ($(strip $(BR2_TARGET_HITACHI_MS7206SE01)),y) +ifeq ($(BR2_TARGET_HITACHI_MS7206SE01),y) include target/device/Hitachi/MS7206SE01/Makefile.in diff --git a/target/device/Sharp/Makefile.in b/target/device/Sharp/Makefile.in index cffae25a6..f1c467149 100644 --- a/target/device/Sharp/Makefile.in +++ b/target/device/Sharp/Makefile.in @@ -1,5 +1,5 @@ # Override the default uClibc configuration -ifeq ($(strip $(BR2_TARGET_SHARP_LNODE80)),y) +ifeq ($(BR2_TARGET_SHARP_LNODE80),y) include target/device/Sharp/LNode80/Makefile.in include target/device/Sharp/LNode80/linux.mk diff --git a/target/device/Soekris/Makefile.in b/target/device/Soekris/Makefile.in index ce0de96d1..ba5257400 100644 --- a/target/device/Soekris/Makefile.in +++ b/target/device/Soekris/Makefile.in @@ -1,11 +1,11 @@ # Override the default uClibc configuration -ifeq ($(strip $(BR2_TARGET_SOEKRIS)),y) +ifeq ($(BR2_TARGET_SOEKRIS),y) -ifeq ($(strip $(BR2_TARGET_SOEKRIS_NET4521)),y) +ifeq ($(BR2_TARGET_SOEKRIS_NET4521),y) UCLIBC_CONFIG_FILE:=target/device/Soekris/net4521/uClibc.config BR2_PACKAGE_BUSYBOX_CONFIG:=target/device/Soekris/net4521/busybox.config -ifeq ($(strip $(BR2_PACKAGE_LINUX)),y) +ifeq ($(BR2_PACKAGE_LINUX),y) TARGETS+=linux include target/device/Soekris/net4521/linux.mk endif @@ -15,11 +15,11 @@ endif #SOEKRIS_NET4801_PATH=target/device/Soekris/net4801 BOARD_PATH=target/device/Soekris/net4801 -ifeq ($(strip $(BR2_TARGET_SOEKRIS_NET4801)),y) +ifeq ($(BR2_TARGET_SOEKRIS_NET4801),y) UCLIBC_CONFIG_FILE:=$(BOARD_PATH)/uClibc.config BR2_PACKAGE_BUSYBOX_CONFIG:=$(BOARD_PATH)/busybox.config -ifeq ($(strip $(BR2_PACKAGE_LINUX)),y) +ifeq ($(BR2_PACKAGE_LINUX),y) TARGETS+=linux26 include target/device/Soekris/soekris_gpio/soekris_gpio.mk LINUX26_KCONFIG=$(BOARD_PATH)/linux26.config diff --git a/target/device/Via/Makefile.in b/target/device/Via/Makefile.in index c25b7e6de..3b37a3d71 100644 --- a/target/device/Via/Makefile.in +++ b/target/device/Via/Makefile.in @@ -1,7 +1,7 @@ # Override the default uClibc configuration -ifeq ($(strip $(BR2_TARGET_VIA_EPIA_MII)),y) +ifeq ($(BR2_TARGET_VIA_EPIA_MII),y) -ifeq ($(strip $(BR2_PACKAGE_LINUX)),y) +ifeq ($(BR2_PACKAGE_LINUX),y) TARGETS+=linux include target/device/Via/epia-mii/linux.mk endif diff --git a/target/device/jp/Makefile.in b/target/device/jp/Makefile.in index acb173d1a..3490b244f 100644 --- a/target/device/jp/Makefile.in +++ b/target/device/jp/Makefile.in @@ -1,5 +1,5 @@ # Override the default uClibc configuration -ifeq ($(strip $(BR2_TARGET_Q5)),y) +ifeq ($(BR2_TARGET_Q5),y) include target/device/jp/q5/Makefile.in include target/device/jp/q5/linux.mk diff --git a/target/device/jp/q5/linux.mk b/target/device/jp/q5/linux.mk index 0658596b0..a086028ca 100644 --- a/target/device/jp/q5/linux.mk +++ b/target/device/jp/q5/linux.mk @@ -84,7 +84,7 @@ $(LINUX_DIR)/.configured $(BUILD_DIR)/linux/.configured: $(LINUX_DIR)/.unpacked $(SED) "s,^ARCH.*,ARCH=$(LINUX_KARCH),g;" $(LINUX_DIR)/Makefile $(SED) "s,^CROSS_COMPILE.*,CROSS_COMPILE=$(KERNEL_CROSS),g;" $(LINUX_DIR)/Makefile -cp $(LINUX_KCONFIG) $(LINUX_DIR)/.config -ifeq ($(strip $(BR2_mips)),y) +ifeq ($(BR2_mips),y) $(SED) "s,CONFIG_CPU_LITTLE_ENDIAN=y,# CONFIG_CPU_LITTLE_ENDIAN is not set\n# CONFIG_BINFMT_IRIX is not set," $(LINUX_DIR)/.config endif $(MAKE) PATH=$(TARGET_PATH) -C $(LINUX_DIR) oldconfig include/linux/version.h diff --git a/target/device/valka/Makefile.in b/target/device/valka/Makefile.in index f43cadaf6..56ae1d285 100644 --- a/target/device/valka/Makefile.in +++ b/target/device/valka/Makefile.in @@ -1,4 +1,4 @@ -ifeq ($(strip $(BR2_TARGET_VALKA)),y) +ifeq ($(BR2_TARGET_VALKA),y) VALKA_PATH= target/device/valka TARGET_SKELETON=$(VALKA_PATH)/target_skeleton diff --git a/target/device/x86/Makefile.in b/target/device/x86/Makefile.in index e3a995a7f..9c2495e34 100644 --- a/target/device/x86/Makefile.in +++ b/target/device/x86/Makefile.in @@ -1,3 +1,3 @@ -ifeq ($(strip $(BR2_i386)),y) +ifeq ($(BR2_i386),y) include target/device/x86/i386/Makefile.in endif -- cgit v1.2.3