diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-03-03 14:55:53 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-03-03 14:55:53 +0000 |
commit | 431c9267b4016b7e712a0edf1e594bd71ac850b4 (patch) | |
tree | 2ac6aae6590e7bd3fec6de9d2446b64acf4aa4ed /include/target.mk | |
parent | f3c14b3de8490a16cdb59f18239ce5afd3372708 (diff) | |
download | upstream-431c9267b4016b7e712a0edf1e594bd71ac850b4.tar.gz upstream-431c9267b4016b7e712a0edf1e594bd71ac850b4.tar.bz2 upstream-431c9267b4016b7e712a0edf1e594bd71ac850b4.zip |
replace a few unnecessary $(shell) calls
SVN-Revision: 14739
Diffstat (limited to 'include/target.mk')
-rw-r--r-- | include/target.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target.mk b/include/target.mk index d3c149aa18..ace3db0ffd 100644 --- a/include/target.mk +++ b/include/target.mk @@ -109,7 +109,7 @@ ifneq ($(TARGET_BUILD)$(if $(DUMP),,1),) endif GENERIC_PLATFORM_DIR := $(TOPDIR)/target/linux/generic-$(KERNEL) -GENERIC_PATCH_DIR := $(GENERIC_PLATFORM_DIR)/patches$(shell [ -d "$(GENERIC_PLATFORM_DIR)/patches-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true ) +GENERIC_PATCH_DIR := $(GENERIC_PLATFORM_DIR)/patches$(if $(wildcard $(GENERIC_PLATFORM_DIR)/patches-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) GENERIC_FILES_DIR := $(foreach dir,$(wildcard $(GENERIC_PLATFORM_DIR)/files $(GENERIC_PLATFORM_DIR)/files-$(KERNEL_PATCHVER)),"$(dir)") GENERIC_LINUX_CONFIG?=$(firstword $(wildcard $(GENERIC_PLATFORM_DIR)/config-$(KERNEL_PATCHVER) $(GENERIC_PLATFORM_DIR)/config-default)) |