Skip to content

Commit

Permalink
Fix kernel prep ordering.
Browse files Browse the repository at this point in the history
  • Loading branch information
abeltrano committed Jan 2, 2024
1 parent e11f328 commit 27cac96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .docker/netremote-dev/build-mac80211_hwsim-kmod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ if [[ ! -f .config ]]; then
ln -s ${WSL_SRC_CONFIG} .config
fi

# Supply defaults for any new/unspecified options in the configuration.
make olddefconfig

# Update the configuration to build the mac80211_hwsim module and its dependencies.
echo "Updating kernel configuration to build mac80211_hwsim module and its dependencies..."
${KERNEL_CONFIG_UTIL} \
Expand All @@ -73,9 +76,6 @@ ${KERNEL_CONFIG_UTIL} \
--module CONFIG_MAC80211 \
--module CONFIG_MAC80211_HWSIM

# Supply defaults for any new/unspecified options in the configuration.
make olddefconfig

echo "Preparing kernel source tree for building external modules..."
make prepare modules_prepare ${WSL_KERNEL_COMPILE_ARG_PARALLEL}

Expand Down

0 comments on commit 27cac96

Please sign in to comment.