diff options
| author | Tom Rini <[email protected]> | 2024-04-02 07:03:25 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-04-02 07:03:25 -0400 |
| commit | d312d9831f25a8e70d64df46fb2fe9aab2e8c939 (patch) | |
| tree | 9afa8b258222e66221f8239d8ad51372d63c5ac3 /dts/upstream/scripts/basic | |
| parent | 25049ad560826f7dc1c4740883b0016014a59789 (diff) | |
| parent | bc39e06778168a34bb4e0a34fbee4edbde4414d8 (diff) | |
Merge branch 'next'
Merge in all changes from the next branch now that the release is out.
Diffstat (limited to 'dts/upstream/scripts/basic')
| -rwxr-xr-x | dts/upstream/scripts/basic/fixdep | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dts/upstream/scripts/basic/fixdep b/dts/upstream/scripts/basic/fixdep new file mode 100755 index 00000000000..cc412bec06c --- /dev/null +++ b/dts/upstream/scripts/basic/fixdep @@ -0,0 +1,27 @@ +#!/bin/sh + +# Simplfied version of Linux scripts/basic/fixdep. We don't need +# CONFIG tracking etc for this usecase. + + +# Fixdep's interface is described: + +# It is invoked as +# +# fixdep <depfile> <target> <cmdline> +# +# and will read the dependency file <depfile> +# +# The transformed dependency snipped is written to stdout. +# +# It first generates a line +# +# cmd_<target> = <cmdline> +# +# and then basically copies the .<target>.d file to stdout, in the +# process filtering out the dependency on autoconf.h and adding +# dependencies on include/config/my/option.h for every +# CONFIG_MY_OPTION encountered in any of the prequisites. + +echo cmd_$2 = $3 +cat $1 |
