Home Home > GIT Browse > packaging
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2017-06-02 19:28:12 +0200
committerMichal Suchanek <msuchanek@suse.de>2019-01-31 15:46:00 +0100
commitc8d853a75072cb3879a851b669744a7acfe3a4a9 (patch)
tree61f9ca0bc923ecd0d561ef70d4d36f258bed44bb
parent466f10848b696974ed1e6031329fd836e8ee167c (diff)
rpm/dtb.spec.in.in: Fix new include path
Commit 89de3db69113d58cdab14d2c777de6080eac49dc ("rpm/dtb.spec.in.in: Update include path for dt-bindings") introduced an additional include path for 4.12. The commit message had it correct, but the spec file template lacked a path component, breaking the aarch64 build while succeeding on armv7hl. Fix that. Signed-off-by: Andreas Färber <afaerber@suse.de>
-rw-r--r--rpm/dtb.spec.in.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/dtb.spec.in.in b/rpm/dtb.spec.in.in
index 3583614d0b..8badeb3a98 100644
--- a/rpm/dtb.spec.in.in
+++ b/rpm/dtb.spec.in.in
@@ -77,7 +77,7 @@ cd $source/$DTS_folder
for dts in $ALL_SUPPORTED_DTB; do
target=${dts%*.dts}
mkdir -p $PPDIR/$(dirname $target)
- cpp -x assembler-with-cpp -undef -D__DTS__ -nostdinc -I. -I$SRCDIR/include/ -I$SRCDIR/dtc/include-prefixes/ -P $target.dts -o $PPDIR/$target.dts
+ cpp -x assembler-with-cpp -undef -D__DTS__ -nostdinc -I. -I$SRCDIR/include/ -I$SRCDIR/scripts/dtc/include-prefixes/ -P $target.dts -o $PPDIR/$target.dts
dtc $DTC_FLAGS -I dts -O dtb -i ./$(dirname $target) -o $PPDIR/$target.dtb $PPDIR/$target.dts
done