Searched full:dtc (Results 1 – 25 of 1031) sorted by relevance
12345678910>>...42
2 # Simple script to update the version of DTC carried by the Linux kernel4 # This script assumes that the dtc and the linux git trees are in the5 # same directory. After building dtc in the dtc directory, it copies the6 # source files and generated source files into the scripts/dtc directory11 # $ ./scripts/dtc/update-dtc-source.sh13 # The script will change into the dtc tree, build and test dtc, copy the15 # message will need to be modified to reflect the version of DTC being23 # - The dtc "make check" target needs to return a failure24 # * Extract the version number from the dtc repo for the commit message25 # * Build dtc in the kernel tree[all …]
1 # scripts/dtc makefile3 hostprogs-y := dtc6 dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \8 dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o28 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h31 clean-files := dtc-lexer.lex.c dtc-parser.tab.c dtc-parser.tab.h
65 #line 20 "dtc-parser.y" /* yacc.c:339 */70 #include "dtc.h"84 #line 85 "dtc-parser.tab.c" /* yacc.c:339 */103 by #include "dtc-parser.tab.h". */149 #line 39 "dtc-parser.y" /* yacc.c:355 */169 #line 170 "dtc-parser.tab.c" /* yacc.c:355 */200 #line 201 "dtc-parser.tab.c" /* yacc.c:358 */1472 #line 110 "dtc-parser.y" /* yacc.c:1646 */1477 #line 1478 "dtc-parser.tab.c" /* yacc.c:1646 */1481 #line 118 "dtc-parser.y" /* yacc.c:1646 */[all …]
3 # Simple script to update the version of DTC carried by the Linux kernel5 # This script assumes that the dtc and the linux git trees are in the6 # same directory. After building dtc in the dtc directory, it copies the7 # source files and generated source file(s) into the scripts/dtc directory12 # $ ./scripts/dtc/update-dtc-source.sh14 # The script will change into the dtc tree, build and test dtc, copy the16 # message will need to be modified to reflect the version of DTC being24 # - The dtc "make check" target needs to return a failure25 # * Extract the version number from the dtc repo for the commit message26 # * Build dtc in the kernel tree[all …]
2 # scripts/dtc makefile4 hostprogs-always-$(CONFIG_DTC) += dtc5 hostprogs-always-$(CHECK_DT_BINDING) += dtc7 dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \9 dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o16 $(error dtc needs libyaml for DT schema validation support. \21 dtc-objs += yamltree.o33 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
37 Each DTx is processed by the dtc compiler to produce a sorted dts source94 if ( ! ${DTC} -I fs ${dtx} ) ; then105 if ( ! ${DTC} -I dtb ${dtx} ) ; then116 | ${DTC} ${dtc_include} -I dts ) ; then272 # ----- prefer dtc from linux kernel, allow fallback to dtc in $PATH282 DTC="${__KBUILD_OUTPUT}/scripts/dtc/dtc"284 if [ ! -x ${DTC} ] ; then285 __DTC="dtc"299 ERROR: unable to find a 'dtc' program301 Preferred 'dtc' (built from Linux kernel source tree) was not found or[all …]
4 Subject: [PATCH] scripts/dtc: Remove redundant YYLOC global declaration9 …(.text+0x0): multiple definition of `yylloc'; dtc-lexer.lex.o (symbol from plugin):(.text+0x0): fi…11 This is because both dtc-lexer as well as dtc-parser define the same16 dtc-lexer.l:26:16: error: redundant redeclaration of 'yylloc' [-Werror=redundant-decls]19 In file included from dtc-lexer.l:24:20 dtc-parser.tab.h:127:16: note: previous declaration of 'yylloc' was here35 scripts/dtc/dtc-lexer.l | 1 -38 diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l40 --- a/scripts/dtc/dtc-lexer.l41 +++ b/scripts/dtc/dtc-lexer.l[all …]
3 # dtc-version dtc-command5 # Prints the dtc version of `dtc-command' in a canonical 6-digit form6 # such as `010404' for dtc 1.4.49 dtc="$*"11 if [ ${#dtc} -eq 0 ]; then12 echo "Error: No dtc command specified."13 printf "Usage:\n\t$0 <dtc-command>\n"17 MAJOR=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 1)18 MINOR=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 2)19 PATCH=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 3 | cut -d - -f 1)
6 Same as the upstream fix for building dtc with gcc 10.11 scripts/dtc/dtc-lexer.l | 1 -14 diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l16 --- a/scripts/dtc/dtc-lexer.l17 +++ b/scripts/dtc/dtc-lexer.l20 #include "dtc-parser.tab.h"