X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=rules.mk;h=09b4f5447a9d6e56ab5ef3022375e6b49c4c5708;hb=6c1ace2f284920e12bf11900bfb666a9eedecc1b;hp=3bd6073fb77dd01aa81ad5a4f91dc5f0bd5a4144;hpb=b34a0b3282e9effa31888c2e6bdc79d53dfe9c81;p=oweals%2Fopenwrt.git diff --git a/rules.mk b/rules.mk index 3bd6073fb7..09b4f5447a 100644 --- a/rules.mk +++ b/rules.mk @@ -28,6 +28,10 @@ merge=$(subst $(space),,$(1)) confvar=$(call merge,$(foreach v,$(1),$(if $($(v)),y,n))) strip_last=$(patsubst %.$(lastword $(subst .,$(space),$(1))),%,$(1)) +define sep + +endef + _SINGLE=export MAKEFLAGS=$(space); CFLAGS:= ARCH:=$(subst i486,i386,$(subst i586,i386,$(subst i686,i386,$(call qstrip,$(CONFIG_ARCH))))) @@ -252,7 +256,6 @@ endef # Execute commands under flock # $(1) => The shell expression. # $(2) => The lock name. If not given, the global lock will be used. -# $(3) => The filedescriptor used for the lock. Defaults to 1023. define locked SHELL= \ $(STAGING_DIR_HOST)/bin/flock \