diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-08-07 23:49:27 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-08-07 23:49:27 +0200 |
| commit | 7acce7b6abf85df85468c527f0453e4e3f9e65e5 (patch) | |
| tree | ce2d3291f1c37548498676247817f1119e8a9bb0 | |
| parent | 980504b7969fc77be0334e3b7730c31b1b3063d9 (diff) | |
| download | dotfiles-7acce7b6abf85df85468c527f0453e4e3f9e65e5.tar.gz dotfiles-7acce7b6abf85df85468c527f0453e4e3f9e65e5.zip | |
kbuild: styling
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
| -rwxr-xr-x | bin/kbuild | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -72,7 +72,7 @@ fi ## # .config -if [ ! -f ".config" ]; then +if [ ! -f ".config" ]; then echo "kbuild (info): no '.config' file found" make defconfig fi @@ -80,7 +80,7 @@ fi config_options=("From a default configuration (defconfig)" "From an existing .config file") echo "kconfig (info): how do you want to configure the build?" PS3="> " -select _opt in "${config_options[@]}" "Quit"; do +select _opt in "${config_options[@]}" "Quit"; do case "$REPLY" in 1) make defconfig @@ -119,9 +119,9 @@ if [ -z "$INSTALL_PATH" ]; then INSTALL_PATH="buildroot-$name" fi mkdir -p "$INSTALL_PATH/usr/lib/modules/$name" -pushd "$INSTALL_PATH" > /dev/null +pushd "$INSTALL_PATH" >/dev/null ln -s usr/lib lib -popd > /dev/null +popd >/dev/null make modules_install INSTALL_MOD_PATH="$INSTALL_PATH" make dtbs_install INSTALL_DTBS_PATH="$INSTALL_PATH/boot/dtbs/$name" |
