Skip to content

Commit

Permalink
makefile: Fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stevezhengshiqi committed Mar 10, 2024
1 parent 87de09c commit 198b991
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions makefile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ function bKextHelper() {
local PATH_LONG_SMA="build/Products/$3/"
local PATH_SHORT_SMA="build/$3/"
local PATH_VI2C="Build/Products/Release/"
local PATH_ITLWM="Build/Products/Debug/"
local lineNum

if [[ "${model_input}" =~ "CML" ]]; then
Expand Down Expand Up @@ -537,7 +538,7 @@ function bKextHelper() {
cp -R tmp/iwlwifi-QuZ* "itlwm/firmware/" || copyErr

xcodebuild -scheme "AirportItlwm (all)" -configuration Debug -derivedDataPath . > /dev/null 2>&1 || buildErr "$2"
cp -R "${PATH_LONG_BIG}"* "../CML" || copyErr
cp -R "${PATH_ITLWM}"* "../CML" || copyErr
xcodebuild -scheme "AirportItlwm (all)" clean > /dev/null 2>&1 || buildErr "$2"
fi
if [[ "${model_input}" =~ "KBL" ]]; then
Expand All @@ -547,7 +548,7 @@ function bKextHelper() {
cp -R tmp/iwm-8265* "itlwm/firmware/" || copyErr

xcodebuild -scheme "AirportItlwm (all)" -configuration Debug -derivedDataPath . > /dev/null 2>&1 || buildErr "$2"
cp -R "${PATH_LONG_BIG}"* "../KBL" || copyErr
cp -R "${PATH_ITLWM}"* "../KBL" || copyErr
xcodebuild -scheme "AirportItlwm (all)" clean > /dev/null 2>&1 || buildErr "$2"
fi
fi
Expand Down

0 comments on commit 198b991

Please sign in to comment.