projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: fix builds with kmod-drm-vc4 and CONFIG_SPI enabled
[openwrt/openwrt.git]
/
rules.mk
diff --git
a/rules.mk
b/rules.mk
index 83d71671c42ba9f5f092cf184997832c5044a80a..ed796a54024adc4d4cbcb13d46a03bf6e0c1c8f5 100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-29,7
+29,7
@@
empty:=
space:= $(empty) $(empty)
comma:=,
merge=$(subst $(space),,$(1))
space:= $(empty) $(empty)
comma:=,
merge=$(subst $(space),,$(1))
-confvar=$(
call merge,$(foreach v,$(1),$(if $($(v)),y,n))
)
+confvar=$(
shell echo '$(foreach v,$(1),$(v)=$(subst ','\'',$($(v))))' | $(STAGING_DIR_HOST)/bin/mkhash md5
)
strip_last=$(patsubst %.$(lastword $(subst .,$(space),$(1))),%,$(1))
paren_left = (
strip_last=$(patsubst %.$(lastword $(subst .,$(space),$(1))),%,$(1))
paren_left = (
@@
-101,7
+101,7
@@
ifdef CONFIG_MIPS64_ABI
endif
endif
endif
endif
-DEFAULT_SUBDIR_TARGETS:=clean download prepare compile
install
update refresh prereq dist distcheck configure check check-depends
+DEFAULT_SUBDIR_TARGETS:=clean download prepare compile update refresh prereq dist distcheck configure check check-depends
define DefaultTargets
$(foreach t,$(DEFAULT_SUBDIR_TARGETS) $(1),
define DefaultTargets
$(foreach t,$(DEFAULT_SUBDIR_TARGETS) $(1),
@@
-139,7
+139,7
@@
else
endif
ifeq ($(or $(CONFIG_EXTERNAL_TOOLCHAIN),$(CONFIG_GCC_VERSION_4_8),$(CONFIG_TARGET_uml)),)
endif
ifeq ($(or $(CONFIG_EXTERNAL_TOOLCHAIN),$(CONFIG_GCC_VERSION_4_8),$(CONFIG_TARGET_uml)),)
- iremap = -iremap
$(1):$(2)
+ iremap = -iremap$(1):$(2)
endif
PACKAGE_DIR:=$(BIN_DIR)/packages
endif
PACKAGE_DIR:=$(BIN_DIR)/packages