cmake .
make
popd
- config/conf Kconfig
+ shift 1
+ config/conf Kconfig "$@"
cmake .
;;
exit 1
fi
+ # shellcheck source=/dev/null
. ./.config
make
fi
install -m 644 carlfw/carl9170.fw \
- ../carl9170-$CONFIG_CARL9170FW_RELEASE_VERSION.fw
+ ../carl9170-"$CONFIG_CARL9170FW_RELEASE_VERSION".fw
echo "done."
;;
*)
- $0 config
+ $0 config "$@"
$0 compile
;;