mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
11 lines
218 B
Bash
Executable File
11 lines
218 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Maintain different buildroot/output archs with symlinks.
|
|
if [ "$#" -ne 1 ]; then
|
|
exit 1
|
|
fi
|
|
arch="$1"
|
|
dst="output.${arch}~"
|
|
src='buildroot/output'
|
|
mkdir -p "buildroot/$dst"
|
|
ln -fns "$dst" "$src"
|