mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
git-subtree-dir: dts/upstream git-subtree-split: aaba2d45dc2a1b3bbb710f2a3808ee1c9f340abe
This commit is contained in:
27
scripts/basic/fixdep
Executable file
27
scripts/basic/fixdep
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user