From dcc9b1d8f71e55d5d39240437705af6141903116 Mon Sep 17 00:00:00 2001 From: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com> Date: Tue, 18 Feb 2020 12:15:28 +0800 Subject: [PATCH] bcm27xx: fix wireless dependence (#3161) --- config/Config-images.in | 1 + package/kernel/mac80211/broadcom.mk | 2 +- target/linux/bcm27xx/base-files/etc/board.d/02_network | 0 target/linux/bcm27xx/image/gen_rpi_sdcard_img.sh | 3 --- 4 files changed, 2 insertions(+), 4 deletions(-) mode change 100644 => 100755 target/linux/bcm27xx/base-files/etc/board.d/02_network diff --git a/config/Config-images.in b/config/Config-images.in index ced7f49a3..6d240e772 100644 --- a/config/Config-images.in +++ b/config/Config-images.in @@ -16,6 +16,7 @@ menu "Target Images" prompt "Compression" default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_apm821xx default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ar71xx + default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ipq40xx default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_lantiq default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_mpc85xx default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ramips diff --git a/package/kernel/mac80211/broadcom.mk b/package/kernel/mac80211/broadcom.mk index eaf736e07..a58d78a6a 100644 --- a/package/kernel/mac80211/broadcom.mk +++ b/package/kernel/mac80211/broadcom.mk @@ -449,7 +449,7 @@ define KernelPackage/brcmfmac/config config BRCMFMAC_SDIO bool "Enable SDIO bus interface support" - default y if TARGET_brcm2708 + default y if TARGET_bcm27xx default y if TARGET_sunxi default n help diff --git a/target/linux/bcm27xx/base-files/etc/board.d/02_network b/target/linux/bcm27xx/base-files/etc/board.d/02_network old mode 100644 new mode 100755 diff --git a/target/linux/bcm27xx/image/gen_rpi_sdcard_img.sh b/target/linux/bcm27xx/image/gen_rpi_sdcard_img.sh index 5e8fb2769..c8140ec3d 100755 --- a/target/linux/bcm27xx/image/gen_rpi_sdcard_img.sh +++ b/target/linux/bcm27xx/image/gen_rpi_sdcard_img.sh @@ -24,6 +24,3 @@ ROOTFSSIZE="$(($4 / 512))" dd bs=512 if="$BOOTFS" of="$OUTPUT" seek="$BOOTOFFSET" conv=notrunc dd bs=512 if="$ROOTFS" of="$OUTPUT" seek="$ROOTFSOFFSET" conv=notrunc - - -