diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2009-07-30 17:35:13 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2009-09-05 14:43:17 +0200 |
commit | 79c213fbe5aa188e60563b88708e267cfe5bf4ec (patch) | |
tree | 1fbaf847e0ae431d0156fd5b4e69543b463cdbe9 /target/linux/Makefile.in | |
parent | 5c4555d1f54f4ede48729f78119d12b696f72d76 (diff) |
target: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'target/linux/Makefile.in')
-rw-r--r-- | target/linux/Makefile.in | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/target/linux/Makefile.in b/target/linux/Makefile.in index 3e8bc7b30..742fe1942 100644 --- a/target/linux/Makefile.in +++ b/target/linux/Makefile.in @@ -26,28 +26,23 @@ LINUX26_BZCAT:=$(BZCAT) LINUX26_SITE=$(BR2_KERNEL_MIRROR)/linux/kernel/v2.6 ifeq ($(BOARD_PATH),) -BOARD_PATH:=$(strip $(subst ",,$(BR2_BOARD_PATH))) -#")) +BOARD_PATH:=$(call qstrip,$(BR2_BOARD_PATH)) endif # Linux kernel configuration file # Has to be set by the target/device # If it is not set by the target/device, then pick the one from .config ifndef LINUX26_KCONFIG -ifneq ($(strip $(subst ",,$(BR2_PACKAGE_LINUX_KCONFIG))),) -LINUX26_KCONFIG=$(strip $(subst ",,$(BR2_PACKAGE_LINUX_KCONFIG))) -#")) -#")) +ifneq ($(call qstrip,$(BR2_PACKAGE_LINUX_KCONFIG)),) +LINUX26_KCONFIG=$(call qstrip,$(BR2_PACKAGE_LINUX_KCONFIG)) else # LINUX26_KCONFIG=$(BOARD_PATH)/linux26.config endif endif ifndef LINUX26_FORMAT -ifneq ($(strip $(subst ",,$(BR2_PACKAGE_LINUX_FORMAT))),) -LINUX26_FORMAT=$(strip $(subst ",,$(BR2_PACKAGE_LINUX_FORMAT))) -#")) -#")) +ifneq ($(call qstrip,$(BR2_PACKAGE_LINUX_FORMAT)),) +LINUX26_FORMAT=$(call qstrip,$(BR2_PACKAGE_LINUX_FORMAT)) else LINUX26_FORMAT=zImage endif @@ -67,8 +62,7 @@ endif endif endif -ROOTFS_STRIPPED_SUFFIX=$(strip $(subst ",,$(ROOTFS_SUFFIX))) -#")) +ROOTFS_STRIPPED_SUFFIX=$(call qstrip,$(ROOTFS_SUFFIX)) # File name for the Linux kernel binary ifndef LINUX26_KERNEL LINUX26_KERNEL_NAME=$(BINARIES_DIR)/$(LINUX26_FORMAT)$(ROOTFS_STRIPPED_SUFFIX) @@ -86,7 +80,6 @@ LINUX_KERNEL=$(LINUX26_KERNEL_NAME) ifeq ($(strip $(LINUX26_PATCH_DIR)),) ifneq ($(BOARD_PATH),) LINUX26_PATCH_DIR:=$(BOARD_PATH)/kernel-patches/ -#")) endif endif LINUX26_MAKE_FLAGS = HOSTCC="$(HOSTCC)" HOSTCFLAGS="$(HOSTCFLAGS)" \ |