Skip to content

Commit

Permalink
lkt: arm: Handle dtb location shift
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
  • Loading branch information
nathanchance committed Jun 30, 2023
1 parent c4e4802 commit 3329050
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lkt/arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,13 @@ def _add_defconfig_runners(self):
runner.boot_arch = boot_arch
runner.configs = [config_target]
if self.only_test_boot:
# https://git.kernel.org/linus/724ba6751532055db75992fc6ae21c3e322e94a7
dtb_prefix = 'aspeed/' if Path(self.folders.source,
'arch/arm/boot/dts/aspeed').is_dir() else ''
if config_target == 'multi_v5_defconfig':
runner.make_targets.append('aspeed-bmc-opp-palmetto.dtb')
runner.make_targets.append(f"{dtb_prefix}aspeed-bmc-opp-palmetto.dtb")
elif config_target == 'aspeed_g5_defconfig':
runner.make_targets.append('aspeed-bmc-opp-romulus.dtb')
runner.make_targets.append(f"{dtb_prefix}aspeed-bmc-opp-romulus.dtb")
runners.append(runner)

# https://github.com/ClangBuiltLinux/linux/issues/325
Expand Down

0 comments on commit 3329050

Please sign in to comment.