Skip to content

Make the kmod-* compatible with the official packages #5

Description

@pexcn
# PART 1
# download official config to get kernel .config.set content
wget https://downloads.openwrt.org/releases/23.05.0/targets/ipq40xx/generic/config.buildinfo -O .config
make defconfig
make target/linux/compile V=s
grep '=[ym]' build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/linux-5.15.134/.config.set | LC_ALL=C sort | staging_dir/host/bin/mkhash md5
cat build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/linux-5.15.134/.config.set

# PART 2
# update config
sed -i -e '/^# CONFIG_PACKAGE_kmod-/d' .config
echo CONFIG_ALL_KMODS=y >> .config
make defconfig
make target/linux/compile V=s
grep '=[ym]' build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/linux-5.15.134/.config.set | LC_ALL=C sort | staging_dir/host/bin/mkhash md5
cat build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/linux-5.15.134/.config.set

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions