[SOLVED] How to recompile kernel module in SDK?

Hi,

I need to recompile kmod-usb-acm with some changes.

I have downloaded SDK and typed `make menuconfig'. Unfortunately, "Kernel Modules --> USB Support" is empty.

Although, when I look to package/linux/modules/usb.mk, I can see the usb-acm package.

How to recompile the usb-acm package with SDK?

Well, reading through the guide;

https://openwrt.org/docs/guide-developer/using_the_sdk

What should one do after downloading?

When you need to change things from the upstream source, you’ll need patches. You can sometimes do a one-off test on the build_dir, once extracted and the OpenWrt patches are done.

@jeff: I did not understand what you mean by "patches".

@anon50098793: I tried adding to "feeds.conf.default" the following line:

src-git linux https://github.com/openwrt/linux.git

Then I said:

./scripts/feeds update -a
./scripts/feeds install -a

But after running `make menuconfig', "Kernel Modules --> USB Support" is still empty.

1 Like

start fresh.

unpack / download sdk

run ./scripts/feeds update -a; ./scripts/feeds/install -a

make menuconfig

What target are you using? ( device / architecture ) depending on where you obtained the SDK, it's possible this is important.

The kernel sources are automatically downloaded to the build directory, then the patches in the OpenWrt tree are applied to them. Look in ./target/linux/<your target>/patches-<kernel.version> for examples.

@anon50098793: I'm using openwrt-sdk-ar71xx-generic_gcc-7.4.0_musl.Linux-x86_64.tar.xz (trunk).

Also, I had to change "feeds.conf.default" as follows:

*** 1,5 ****
! src-git base https://git.openwrt.org/openwrt/openwrt.git
! src-git packages https://git.openwrt.org/feed/packages.git
! src-git luci https://git.openwrt.org/project/luci.git
! src-git routing https://git.openwrt.org/feed/routing.git
! src-git telephony https://git.openwrt.org/feed/telephony.git
--- 1,5 ----
! src-git base https://github.com/openwrt/openwrt.git
! src-git packages https://github.com/openwrt/packages.git
! src-git luci https://github.com/openwrt/luci.git
! #src-git routing https://git.openwrt.org/feed/routing.git
! src-git telephony https://github.com/openwrt/telephony.git

Then I said:

./scripts/feeds update -a
./scripts/feeds install -a

This time in "Kernel Modules --> USB Support" there appeared two entries:

kmod-usb-serial-dmx_usb_module..
kmod-usb-serial-xr_usb_serial_common

But still no "kmod-usb-acm".

@jeff: in a freshly unpacked openwrt-sdk-ar71xx-generic_gcc-7.4.0_musl.Linux-x86_64.tar.xz I said this:

make defconfig
make package/linux/download
make package/linux/prepare

But "ls ./target/linux/*/patches*" fails with this:

ls: cannot access './target/linux/*/patches*': No such file or directory

You may want to use the full build chain.

hmmmm....
openwrt-sdk-ar71xx-generic_gcc-7.4.0_musl.Linux-x86_64.tar.xz

is that the development sdk?

EDIT:

In trunk its DEFAULT.... non selectable?

cat Config* | grep kmod-usb
config MODULE_DEFAULT_kmod-usb-acm

try 7.3.0 -> "stable"
openwrt-sdk-18.06.2-ar71xx-generic_gcc-7.3.0_musl.Linux-x86_64.tar.xz

https://downloads.openwrt.org/releases/18.06.2/targets/ar71xx/generic/openwrt-sdk-18.06.2-ar71xx-generic_gcc-7.3.0_musl.Linux-x86_64.tar.xz

@jeff: Needless to say, rebuilding the whole world is a pain. I just read in openwrt docs that kernel modules can be compiled using SDK. Hope this forum helps me to figure out how.

@anon50098793: I tried 7.3.0 -> "stable". Result is the same: there is no kmod-usb-acm package in make menuconfig.

In much less time than you’ve been struggling here, you could have a full build environment up and running. It typically takes less than an hour for a fresh build of everything from source.

1 Like

Well, there must be a reason.....

Dodgy hack .... but if you HAVE to SEE it in 7.4.0 NOW!

add in tmp/.config-package.in
after this definition > config PACKAGE_kmod-usb-serial-xr_usb_serial_common

	

	config PACKAGE_kmod-usb-acm
		tristate "kmod-usb-acm"
		default m
		help
		  NA

then type> make defconfig

( you'll probably have to move around the DEFAULT definition too )

Fundamentally, by default it is selected.... so the above is mute..... If you wanted to just muck around with that package..... You can do so.... and it should be made.... or to speed things up there is probably that > make dir/package{whatever} command.....

So you can just build it on its own. I think Jeff explained abit about that.

I think Jeff has a point.

I once try by downloading package folder only from git source into sdk package folder using command "svn export https://github.com/openwrt/openwrt/trunk/master/package". After that run make menuconfig. And the kernel package is there.

I was able to extract the following lines from verbose compilation, related to kernel module compilation:

make[2]: Entering directory '/tex_tmp/lede/feeds/packages/libs/xr_usb_serial_common'
rm -f /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/stamp/.xr_usb_serial_common_installed
rm -f /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/.configured_*
touch /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/.configured_c5fa273aed3f07347c845f12527fffb9



make  -C "/tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/linux-4.4.153" ARCH="mips" CROSS_COMPILE="mipsel-openwrt-linux-musl-" SUBDIRS="/tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/xr_usb_serial_common-1a" modules
make[3]: Entering directory '/tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/linux-4.4.153'
  CC [M]  /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/xr_usb_serial_common-1a/xr_usb_serial_common.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/xr_usb_serial_common-1a/xr_usb_serial_common.mod.o
  LD [M]  /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/xr_usb_serial_common-1a/xr_usb_serial_common.ko
make[3]: Leaving directory '/tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/linux-4.4.153'

touch /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/.built

mkdir -p /tex_tmp/lede/bin/targets/brcm47xx/legacy/packages /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/CONTROL /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/pkginfo

. /tex_tmp/lede/include/shell.sh
export modules=
probe_module() {
  local mods="$1"
  local boot="$2"
  local mod
  shift 2
  for mod in $mods; do
    mkdir -p /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/etc/modules.d
    echo "$mod" >> /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/etc/modules.d/usb-serial-xr_usb_serial_common
  done
  if [ -e /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/etc/modules.d/usb-serial-xr_usb_serial_common ]; then
    if [ "$boot" = "1" -a ! -e /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/etc/modules-boot.d/usb-serial-xr_usb_serial_common ]; then
      mkdir -p /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/etc/modules-boot.d
      ln -s ../modules.d/usb-serial-xr_usb_serial_common /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/etc/modules-boot.d/
    fi
    modules="${modules:+$modules }$mods"
  fi
}
add_module() {
  local priority="$1"
  local mods="$2"
  local boot="$3"
  local mod
  shift 3
  for mod in $mods; do
    mkdir -p /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/etc/modules.d
    echo "$mod" >> /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/etc/modules.d/$priority-usb-serial-xr_usb_serial_common
  done
  if [ -e /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/etc/modules.d/$priority-usb-serial-xr_usb_serial_common ]; then
    if [ "$boot" = "1" -a ! -e /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/etc/modules-boot.d/$priority-usb-serial-xr_usb_serial_common ]; then
      mkdir -p /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/etc/modules-boot.d
      ln -s ../modules.d/$priority-usb-serial-xr_usb_serial_common /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/etc/modules-boot.d/
    fi
    modules="${modules:+$modules }$priority-usb-serial-xr_usb_serial_common"
  fi
}
probe_module "xr_usb_serial_common" ""
if [ -n "$modules" ]; then
  modules="$(echo "$modules" | tr ' ' '\n' | sort | uniq | paste -s -d' ' -)"
  mkdir -p /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/etc/modules.d
  mkdir -p /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/CONTROL
  echo "#!/bin/sh" > /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/CONTROL/postinst-pkg
  echo "[ -z \"\$IPKG_INSTROOT\" ] || exit 0" >> /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/CONTROL/postinst-pkg
  echo ". /lib/functions.sh" >> /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/CONTROL/postinst-pkg
  echo "insert_modules $modules" >> /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/CONTROL/postinst-pkg
  chmod 0755 /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/CONTROL/postinst-pkg
fi

find /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf

export CROSS="mipsel-openwrt-linux-musl-"
NM="mipsel-openwrt-linux-musl-nm" STRIP="/tex_tmp/lede/staging_dir/host/bin/sstrip" STRIP_KMOD="/tex_tmp/lede/scripts/strip-kmod.sh" PATCHELF="/tex_tmp/lede/staging_dir/host/bin/patchelf" /tex_tmp/lede/scripts/rstrip.sh /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common

rstrip.sh: /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/lib/modules/4.4.153/xr_usb_serial_common.ko: relocatable

(
  cd /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common/CONTROL
  (
    echo "$CONTROL"
    printf "Description: "
    echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'
  ) > control
  chmod 644 control
  (
    echo "#!/bin/sh"
    echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"
    echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"
    echo ". \${IPKG_INSTROOT}/lib/functions.sh"
    echo "default_postinst \$0 \$@"
  ) > postinst
  (
    echo "#!/bin/sh"
    echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"
    echo ". \${IPKG_INSTROOT}/lib/functions.sh"
    echo "default_prerm \$0 \$@"
  ) > prerm
  chmod 0755 postinst prerm
)

install -d -m0755 /tex_tmp/lede/bin/targets/brcm47xx/legacy/packages

/tex_tmp/lede/scripts/ipkg-build -c -o 0 -g 0 /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common /tex_tmp/lede/bin/targets/brcm47xx/legacy/packages

Packaged contents of /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common into /tex_tmp/lede/bin/targets/brcm47xx/legacy/packages/kmod-usb-serial-xr_usb_serial_common_4.4.153+1a-1_mipsel_mips32.ipk

rm -rf /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common

mkdir -p /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/stamp /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common

. /tex_tmp/lede/include/shell.sh
export modules=
probe_module() {
  local mods="$1"
  local boot="$2"
  local mod
  shift 2
  for mod in $mods; do
    mkdir -p /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/etc/modules.d
    echo "$mod" >> /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/etc/modules.d/usb-serial-xr_usb_serial_common
  done
  if [ -e /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/etc/modules.d/usb-serial-xr_usb_serial_common ]; then
    if [ "$boot" = "1" -a ! -e /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/etc/modules-boot.d/usb-serial-xr_usb_serial_common ]; then
      mkdir -p /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/etc/modules-boot.d
      ln -s ../modules.d/usb-serial-xr_usb_serial_common /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/etc/modules-boot.d/
    fi
    modules="${modules:+$modules }$mods"
  fi
}
add_module() {
  local priority="$1"
  local mods="$2"
  local boot="$3"
  local mod
  shift 3
  for mod in $mods; do
    mkdir -p /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/etc/modules.d
    echo "$mod" >> /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/etc/modules.d/$priority-usb-serial-xr_usb_serial_common
  done
  if [ -e /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/etc/modules.d/$priority-usb-serial-xr_usb_serial_common ]; then
    if [ "$boot" = "1" -a ! -e /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/etc/modules-boot.d/$priority-usb-serial-xr_usb_serial_common ]; then
      mkdir -p /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/etc/modules-boot.d; ln -s ../modules.d/$priority-usb-serial-xr_usb_serial_common /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/etc/modules-boot.d/
    fi
    modules="${modules:+$modules }$priority-usb-serial-xr_usb_serial_common"
  fi
}
probe_module "xr_usb_serial_common" ""
if [ -n "$modules" ]; then
  modules="$(echo "$modules" | tr ' ' '\n' | sort | uniq | paste -s -d' ' -)"
  mkdir -p /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/etc/modules.d
  mkdir -p /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/CONTROL
  echo "#!/bin/sh" > /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/CONTROL/postinst-pkg
  echo "[ -z \"\$IPKG_INSTROOT\" ] || exit 0" >> /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/CONTROL/postinst-pkg
  echo ". /lib/functions.sh" >> /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/CONTROL/postinst-pkg
  echo "insert_modules $modules" >> /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/CONTROL/postinst-pkg
  chmod 0755 /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/CONTROL/postinst-pkg
fi

SHELL= flock /tex_tmp/lede/tmp/.root-copy.flock -c 'cp -fpR /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common/. /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/'

rm -rf /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/tmp-kmod-usb-serial-xr_usb_serial_common

touch /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/root-brcm47xx/stamp/.kmod-usb-serial-xr_usb_serial_common_installed

if [ -f /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/pkginfo/xr_usb_serial_common.default.install.clean ]; then
  rm -f /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/pkginfo/xr_usb_serial_common.default.install /tex_tmp/lede/staging_dir/target-mipsel_mips32_musl-1.1.16/pkginfo/xr_usb_serial_common.default.install.clean
fi

make[2]: Leaving directory '/tex_tmp/lede/feeds/packages/libs/xr_usb_serial_common'

After removing boilerplate, the following remained:

make[2]: Entering directory '/tex_tmp/lede/feeds/packages/libs/xr_usb_serial_common'

make  -C "/tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/linux-4.4.153" ARCH="mips" CROSS_COMPILE="mipsel-openwrt-linux-musl-" SUBDIRS="/tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/xr_usb_serial_common-1a" modules

export CROSS="mipsel-openwrt-linux-musl-"
NM="mipsel-openwrt-linux-musl-nm" STRIP="/tex_tmp/lede/staging_dir/host/bin/sstrip" STRIP_KMOD="/tex_tmp/lede/scripts/strip-kmod.sh" PATCHELF="/tex_tmp/lede/staging_dir/host/bin/patchelf" /tex_tmp/lede/scripts/rstrip.sh /tex_tmp/lede/build_dir/target-mipsel_mips32_musl-1.1.16/linux-brcm47xx_legacy/usb-serial-xr_usb_serial_common-1a/ipkg-mipsel_mips32/kmod-usb-serial-xr_usb_serial_common

make[2]: Leaving directory '/tex_tmp/lede/feeds/packages/libs/xr_usb_serial_common'

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.