diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-07-23 09:50:51 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-07-23 09:50:55 +0200 |
commit | add734226f5929db5df2acd4d70428f3e77ef182 (patch) | |
tree | 3d0022e876f3b4f0f925e1f4fe733b1622c7fb5e /rules/pre | |
parent | e40e1ecc724699533d2a953bb098fd9d94e2466f (diff) | |
download | ptxdist-add734226f5929db5df2acd4d70428f3e77ef182.tar.gz ptxdist-add734226f5929db5df2acd4d70428f3e77ef182.tar.xz |
dts-cfghash-file: fix for older make versions
For make 4.1 the macros must be on one line. So escape the newline to avoid
errors like this:
[...]/rules/kernel.make:39: *** missing separator. Stop.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/pre')
-rw-r--r-- | rules/pre/000-cfghash.make | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/pre/000-cfghash.make b/rules/pre/000-cfghash.make index 60765d0c7..81fc14b05 100644 --- a/rules/pre/000-cfghash.make +++ b/rules/pre/000-cfghash.make @@ -28,13 +28,13 @@ endif # Only add files from the BSP, not the build tree. # define ptx/dts-cfghash-file -$(foreach dts,$(filter-out $(PTXDIST_PLATFORMDIR)/%, -$(call ptx/in-path,$(strip $(1))_DTS_PATH,$(2))), +$(foreach dts,$(filter-out $(PTXDIST_PLATFORMDIR)/%,\ +$(call ptx/in-path,$(strip $(1))_DTS_PATH,$(2))),\ $(call ptx/cfghash-file,$(1),$(dts))) endef define world/dts-cfghash-file -$(foreach dts,$($(strip $(1))_DTS), +$(foreach dts,$($(strip $(1))_DTS),\ $(call ptx/dts-cfghash-file,$(strip $(1)),$(dts))) endef |