diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-06-01 11:37:00 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-06-04 21:10:00 +0200 |
commit | 5c5f06047048e4b4fe44b5c5d712a7aba8082a76 (patch) | |
tree | 5c5fcd3e0f1f0dc977947b402af8c09f29c7ddaf /scripts | |
parent | c98e2ba9594cd07257fa6dc648b3ab8e5b4df1cb (diff) | |
download | ptxdist-5c5f06047048e4b4fe44b5c5d712a7aba8082a76.tar.gz ptxdist-5c5f06047048e4b4fe44b5c5d712a7aba8082a76.tar.xz |
ptxd_lib_dgen: improve formating a bit
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/ptxd_lib_dgen.awk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk index 2c10aca6f..f6a51c2c4 100644 --- a/scripts/lib/ptxd_lib_dgen.awk +++ b/scripts/lib/ptxd_lib_dgen.awk @@ -516,7 +516,7 @@ function write_deps_pkg_active_image(this_PKG, this_pkg, prefix) { # # images don't depend on world, so this is needed to extract the packages # - print "ifneq ($(strip $(" this_PKG "_PKGS)),)" > DGEN_DEPS_POST + print "ifneq ($(strip $(" this_PKG "_PKGS)),)" > DGEN_DEPS_POST print "$(" this_PKG "_IMAGE):" " \ $(STATEDIR)/host-opkg.install.post" > DGEN_DEPS_POST print "ifeq ($(strip $(" this_PKG "_NFSROOT)),YES)" > DGEN_DEPS_POST @@ -531,7 +531,9 @@ END { for (this_PKG in active_PKG_to_pkg) write_deps_pkg_active_cfghash(this_PKG, this_pkg) - print "$(call ptx/force-sh, md5sum " PTXDIST_TEMPDIR "/pkghash-* | sed 's;^\\([a-z0-9]*\\).*pkghash-\\(.*\\)$$;\\2_CFGHASH := \\1;' > " PTXDIST_TEMPDIR "/pkghash.make)" > DGEN_DEPS_POST; + print "$(call ptx/force-sh, md5sum " PTXDIST_TEMPDIR "/pkghash-* | " \ + "sed 's;^\\([a-z0-9]*\\).*pkghash-\\(.*\\)$$;\\2_CFGHASH := \\1;' > " \ + PTXDIST_TEMPDIR "/pkghash.make)" > DGEN_DEPS_POST; print "include " PTXDIST_TEMPDIR "/pkghash.make" > DGEN_DEPS_POST; # for all pkgs |