Skip to content

Commit 61eedab

Browse files
authored
Merge pull request #94 from sixtyfourktec/linux
classes/linux: fixes for -dtbs/-kmod-dist
2 parents b619b27 + 6bed907 commit 61eedab

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

classes/linux/dtbs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ buildSetup: |
1313
makeParallel ${1:-dtbs} "${@:2}"
1414
}
1515
16+
packageVars: [LINUX_ARCH]
1617
packageSetup: |
1718
# Install the device tree files.
1819
#
@@ -22,7 +23,7 @@ packageSetup: |
2223
# are installed
2324
linuxInstallDtbs()
2425
{
25-
if [[ -n "${2:-}" ]]; then
26+
if [[ ! "${2+set}" ]]; then
2627
if [[ -d "$1/arch/$LINUX_ARCH/boot/dts" ]] ; then
2728
make -C "$1" INSTALL_DTBS_PATH="$PWD" dtbs_install
2829
fi

classes/linux/kmod-dist.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
inherit: [linux]
22

3+
packageVars: [LINUX_ARCH]
34
packageSetup: |
45
_SCRIPT_DIR=$1/kmod-script
56

0 commit comments

Comments
 (0)