Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions module/workarounds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ if [ -f /lib64/ld-linux-x86-64.so.2 ]; then
fi

if [[ "$device" == asus-tinker* ]] ; then
echo Workaround tinkerboard
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably better to leave the message but redirect it to stderr:

echo "Workaround tinkerboard"  >&2

# Specific for the Asus Tinkerboard
# Check for config option CONFIG_ARCH_ROCKCHIP and
# if set remove the line that sets the default ARCH
Expand All @@ -25,12 +24,10 @@ if [[ "$device" == asus-tinker* ]] ; then
fi

if [[ "$device" == beagle* ]] ; then
echo Workaround bbb
wget https://raw.githubusercontent.com/beagleboard/linux/4.14/arch/arm/kernel/module.lds -O "$PWD"/arch/arm/kernel/module.lds
fi

if [[ "$device" == ts4900 ]] ; then
echo Workaround ts4900
# Workaround for the ts4900 to deal with unknown relocation error
# when build OOT modules
if grep -q "ts4900" ./arch/arm/boot/dts/Makefile; then
Expand Down