mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -13,6 +13,8 @@ qstrip = $(strip $(subst ",,$(1)))
|
||||
comma := ,
|
||||
empty :=
|
||||
space := $(empty) $(empty)
|
||||
tab := $(empty) $(empty)
|
||||
escape := $(shell printf '\x1b')
|
||||
|
||||
# make 4.3:
|
||||
# https://lwn.net/Articles/810071/
|
||||
@@ -84,13 +86,17 @@ finddirclauses = $(call notfirstword,$(patsubst %,-o -path '$(1)/%',$(2)))
|
||||
# notfirstword(wordlist): returns all but the first word in wordlist
|
||||
notfirstword = $(wordlist 2,$(words $(1)),$(1))
|
||||
|
||||
# build a comma-separated list of quoted items, from a space-separated
|
||||
# list of unquoted items: a b c d --> "a", "b", "c", "d"
|
||||
make-comma-list = $(subst $(space),$(comma)$(space),$(patsubst %,"%",$(strip $(1))))
|
||||
# build a comma-separated list of items, from a space-separated
|
||||
# list of items: a b c d --> a, b, c, d
|
||||
make-comma-list = $(subst $(space),$(comma)$(space),$(strip $(1)))
|
||||
|
||||
# build a comma-separated list of single quoted items, from a space-separated
|
||||
# build a comma-separated list of double-quoted items, from a space-separated
|
||||
# list of unquoted items: a b c d --> "a", "b", "c", "d"
|
||||
make-dq-comma-list = $(call make-comma-list,$(patsubst %,"%",$(strip $(1))))
|
||||
|
||||
# build a comma-separated list of single-quoted items, from a space-separated
|
||||
# list of unquoted items: a b c d --> 'a', 'b', 'c', 'd'
|
||||
make-sq-comma-list = $(subst $(space),$(comma)$(space),$(patsubst %,'%',$(strip $(1))))
|
||||
make-sq-comma-list = $(call make-comma-list,$(patsubst %,'%',$(strip $(1))))
|
||||
|
||||
# Needed for the foreach loops to loop over the list of hooks, so that
|
||||
# each hook call is properly separated by a newline.
|
||||
|
||||
Reference in New Issue
Block a user