Commit 75e6cd2799f0d6bf994a1154107cb950b232aa59
Committed by
Tom Rini
1 parent
5b0421e67c
Exists in
v2017.01-smarct4x
and in
40 other branches
boards.cfg: change "<none>" in the board field to "-"
In the previous commit, all the board fields were filled. Now we can use "-" in the board field for a different meaning. Going forward, "-" stands for no board directory as in cpu, soc, vendor fields. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Showing 2 changed files with 3 additions and 9 deletions Side-by-side Diff
boards.cfg
... | ... | @@ -49,8 +49,8 @@ |
49 | 49 | Active aarch64 armv8 fsl-lsch3 freescale ls2085a ls2085a_emu_D4 ls2085a_emu:ARM64,EMU,SYS_FSL_DDR4 York Sun <yorksun@freescale.com> |
50 | 50 | Active aarch64 armv8 fsl-lsch3 freescale ls2085a ls2085a_simu ls2085a_simu:ARM64,SIMU York Sun <yorksun@freescale.com> |
51 | 51 | Active arc arc700 - abilis tb100 tb100 - Alexey Brodkin <abrodkin@synopsys.com> |
52 | -Active arc arc700 - synopsys <none> arcangel4 - Alexey Brodkin <abrodkin@synopsys.com> | |
53 | -Active arc arc700 - synopsys <none> arcangel4-be - Alexey Brodkin <abrodkin@synopsys.com> | |
52 | +Active arc arc700 - synopsys - arcangel4 - Alexey Brodkin <abrodkin@synopsys.com> | |
53 | +Active arc arc700 - synopsys - arcangel4-be - Alexey Brodkin <abrodkin@synopsys.com> | |
54 | 54 | Active arc arc700 - synopsys axs101 axs101 - Alexey Brodkin <abrodkin@synopsys.com> |
55 | 55 | Active arm arm1136 - armltd integrator integratorcp_cm1136 integratorcp:CM1136 Linus Walleij <linus.walleij@linaro.org> |
56 | 56 | Active arm arm1136 mx31 - imx31_phycore imx31_phycore - - |
mkconfig
... | ... | @@ -60,13 +60,7 @@ |
60 | 60 | cpu= |
61 | 61 | fi |
62 | 62 | |
63 | -if [ "$6" = "<none>" ] ; then | |
64 | - board= | |
65 | -elif [ "$6" = "-" ] ; then | |
66 | - board=${BOARD_NAME} | |
67 | -else | |
68 | - board="$6" | |
69 | -fi | |
63 | +[ "$6" != "-" ] && board="$6" | |
70 | 64 | [ "$5" != "-" ] && vendor="$5" |
71 | 65 | [ "$4" != "-" ] && soc="$4" |
72 | 66 | [ $# -gt 7 ] && [ "$8" != "-" ] && { |