Skip to content

Commit 126be90

Browse files
committed
treewide: use perl as tool
adapt to the basement change where perl is no longer part of the sandbox and used as tool instead.
1 parent f5b910d commit 126be90

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

classes/linux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ checkoutSCM:
8383
dir: kmod-script
8484

8585
buildVars: [LINUX_ARCH, ARCH, CROSS_COMPILE, CC]
86-
buildTools: [m4, bison, flex, target-toolchain, host-toolchain]
86+
buildTools: [m4, bison, flex, target-toolchain, host-toolchain, perl]
8787
buildSetup: |
8888
# make sure we find our kmod-dist script in the package step
8989
ln -sf $1/kmod-script .

recipes/bsp/uboot.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ multiPackage:
1616
- if: "${UBOOT_CUSTOM_CONFIG:-}"
1717
name: "${UBOOT_CUSTOM_CONFIG_PKG:-uboot-custom-cfg}"
1818

19+
buildToolsWeak: [perl]
1920
buildVars: [UBOOT_CONFIG, UBOOT_TARGETS, UBOOT_CUSTOM_CONFIG, UBOOT_CUSTOM_CONFIG_PKG]
2021
buildScript: |
2122
# Use plain "defconfig" if we have no specific target. Otherwise check if

recipes/net/ifupdown.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ checkoutSCM:
1111
stripComponents: 1
1212

1313
buildVars: [CC]
14+
buildTools: [perl]
1415
buildScript: |
1516
mkdir -p build
1617
cp -a $1/* build/
18+
sed -i 's#/usr/bin/perl#/usr/bin/env -S perl#' build/defn2*.pl
1719
1820
# fake this
1921
mkdir -p bin

0 commit comments

Comments
 (0)