From 4c4f5b800113798c753d4b9d802c049de8e5414a Mon Sep 17 00:00:00 2001 From: Michel-FK Date: Sun, 24 Mar 2019 23:24:40 +0100 Subject: [PATCH] Make buildroot a git submodule --- .gitignore | 5 ++- .gitmodules | 3 ++ Config.in | 2 - FunKey/Config.in | 1 + {board => FunKey/board}/funkey/boot.cmd | 0 {board => FunKey/board}/funkey/busybox.config | 0 .../board}/funkey/device_table.txt | 0 {board => FunKey/board}/funkey/genimage.cfg | 0 {board => FunKey/board}/funkey/linux.config | 0 ...01-fb_st7789v-saef-sf-tc154b-8377a-n.patch | 0 .../linux/0002-added-240x240-boot-logo.patch | 0 .../0003-rotated-screen-90-degrees-CW.patch | 0 .../patches/linux/0004-add-funkey-dts.patch | 0 .../0005-add-funkey-dts-to-Makefile.patch | 0 .../a/arch/arm/boot/dts/sun8i-v3s-funkey.dts | 0 .../patches/uboot/0001-add-funkey-dts.patch | 0 .../0002-add-funkey-dts-to-Makfile.patch | 0 .../uboot/a/arch/arm/dts/sun8i-v3s-funkey.dts | 0 {board => FunKey/board}/funkey/post-build.sh | 0 {board => FunKey/board}/funkey/readme.txt | 16 +++---- .../etc/init.d/S02resize_rootfs | 0 .../funkey/rootfs-overlay/etc/init.d/S03swap | 0 .../rootfs-overlay/etc/init.d/S04modules | 0 .../rootfs-overlay/etc/init.d/S50alsa-utils | 0 .../board}/funkey/rootfs-overlay/etc/issue | 0 .../rootfs-overlay/etc/sysconfig/modules | 0 .../rootfs-overlay/lib/lsb/init-functions | 0 .../rootfs-overlay/usr/sbin/resize_rootfs | 0 .../funkey/rootfs-overlay/usr/sbin/share | 0 .../rootfs-overlay/usr/share/alsa/utils.sh | 0 {board => FunKey/board}/funkey/uboot.config | 0 .../board}/funkey/users_table.txt | 0 {configs => FunKey/configs}/funkey_defconfig | 1 + external.desc => FunKey/external.desc | 0 external.mk => FunKey/external.mk | 0 .../mednafen/0001-disable-opengl.patch | 0 .../0002-mednafen-buggy-test-gcc-81740.patch | 0 .../package}/mednafen/Config.in | 0 .../package}/mednafen/mednafen.mk | 0 README.md | 30 +++++++------ .../rootfs-overlay/usr/sbin/activate_wifi | 45 ------------------- buildroot | 1 + fun | 2 + have | 11 +++++ package/rtl8723bs-firmware/Config.in | 10 ----- .../rtl8723bs-firmware/rtl8723bs-firmware.mk | 21 --------- 46 files changed, 46 insertions(+), 102 deletions(-) create mode 100644 .gitmodules delete mode 100644 Config.in create mode 100644 FunKey/Config.in rename {board => FunKey/board}/funkey/boot.cmd (100%) rename {board => FunKey/board}/funkey/busybox.config (100%) rename {board => FunKey/board}/funkey/device_table.txt (100%) rename {board => FunKey/board}/funkey/genimage.cfg (100%) rename {board => FunKey/board}/funkey/linux.config (100%) rename {board => FunKey/board}/funkey/patches/linux/0001-fb_st7789v-saef-sf-tc154b-8377a-n.patch (100%) rename {board => FunKey/board}/funkey/patches/linux/0002-added-240x240-boot-logo.patch (100%) rename {board => FunKey/board}/funkey/patches/linux/0003-rotated-screen-90-degrees-CW.patch (100%) rename {board => FunKey/board}/funkey/patches/linux/0004-add-funkey-dts.patch (100%) rename {board => FunKey/board}/funkey/patches/linux/0005-add-funkey-dts-to-Makefile.patch (100%) rename {board => FunKey/board}/funkey/patches/linux/a/arch/arm/boot/dts/sun8i-v3s-funkey.dts (100%) rename {board => FunKey/board}/funkey/patches/uboot/0001-add-funkey-dts.patch (100%) rename {board => FunKey/board}/funkey/patches/uboot/0002-add-funkey-dts-to-Makfile.patch (100%) rename {board => FunKey/board}/funkey/patches/uboot/a/arch/arm/dts/sun8i-v3s-funkey.dts (100%) rename {board => FunKey/board}/funkey/post-build.sh (100%) rename {board => FunKey/board}/funkey/readme.txt (77%) rename {board => FunKey/board}/funkey/rootfs-overlay/etc/init.d/S02resize_rootfs (100%) rename {board => FunKey/board}/funkey/rootfs-overlay/etc/init.d/S03swap (100%) rename {board => FunKey/board}/funkey/rootfs-overlay/etc/init.d/S04modules (100%) rename {board => FunKey/board}/funkey/rootfs-overlay/etc/init.d/S50alsa-utils (100%) rename {board => FunKey/board}/funkey/rootfs-overlay/etc/issue (100%) rename {board => FunKey/board}/funkey/rootfs-overlay/etc/sysconfig/modules (100%) rename {board => FunKey/board}/funkey/rootfs-overlay/lib/lsb/init-functions (100%) rename {board => FunKey/board}/funkey/rootfs-overlay/usr/sbin/resize_rootfs (100%) rename {board => FunKey/board}/funkey/rootfs-overlay/usr/sbin/share (100%) rename {board => FunKey/board}/funkey/rootfs-overlay/usr/share/alsa/utils.sh (100%) rename {board => FunKey/board}/funkey/uboot.config (100%) rename {board => FunKey/board}/funkey/users_table.txt (100%) rename {configs => FunKey/configs}/funkey_defconfig (99%) rename external.desc => FunKey/external.desc (100%) rename external.mk => FunKey/external.mk (100%) rename {package => FunKey/package}/mednafen/0001-disable-opengl.patch (100%) rename {package => FunKey/package}/mednafen/0002-mednafen-buggy-test-gcc-81740.patch (100%) rename {package => FunKey/package}/mednafen/Config.in (100%) rename {package => FunKey/package}/mednafen/mednafen.mk (100%) delete mode 100755 board/funkey/rootfs-overlay/usr/sbin/activate_wifi create mode 160000 buildroot create mode 100755 fun create mode 100755 have delete mode 100644 package/rtl8723bs-firmware/Config.in delete mode 100644 package/rtl8723bs-firmware/rtl8723bs-firmware.mk diff --git a/.gitignore b/.gitignore index cb51cac..836ef17 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ -dl/* -output/* +*/dl/* +*/output/* *~ +br.log diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..4f2c72a --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "buildroot"] + path = buildroot + url = git://git.buildroot.net/buildroot diff --git a/Config.in b/Config.in deleted file mode 100644 index e37673c..0000000 --- a/Config.in +++ /dev/null @@ -1,2 +0,0 @@ -source "$BR2_EXTERNAL_FUNKEY_PATH/package/rtl8723bs-firmware/Config.in" -source "$BR2_EXTERNAL_FUNKEY_PATH/package/mednafen/Config.in" diff --git a/FunKey/Config.in b/FunKey/Config.in new file mode 100644 index 0000000..69640c7 --- /dev/null +++ b/FunKey/Config.in @@ -0,0 +1 @@ +source "$BR2_EXTERNAL_FUNKEY_PATH/package/mednafen/Config.in" diff --git a/board/funkey/boot.cmd b/FunKey/board/funkey/boot.cmd similarity index 100% rename from board/funkey/boot.cmd rename to FunKey/board/funkey/boot.cmd diff --git a/board/funkey/busybox.config b/FunKey/board/funkey/busybox.config similarity index 100% rename from board/funkey/busybox.config rename to FunKey/board/funkey/busybox.config diff --git a/board/funkey/device_table.txt b/FunKey/board/funkey/device_table.txt similarity index 100% rename from board/funkey/device_table.txt rename to FunKey/board/funkey/device_table.txt diff --git a/board/funkey/genimage.cfg b/FunKey/board/funkey/genimage.cfg similarity index 100% rename from board/funkey/genimage.cfg rename to FunKey/board/funkey/genimage.cfg diff --git a/board/funkey/linux.config b/FunKey/board/funkey/linux.config similarity index 100% rename from board/funkey/linux.config rename to FunKey/board/funkey/linux.config diff --git a/board/funkey/patches/linux/0001-fb_st7789v-saef-sf-tc154b-8377a-n.patch b/FunKey/board/funkey/patches/linux/0001-fb_st7789v-saef-sf-tc154b-8377a-n.patch similarity index 100% rename from board/funkey/patches/linux/0001-fb_st7789v-saef-sf-tc154b-8377a-n.patch rename to FunKey/board/funkey/patches/linux/0001-fb_st7789v-saef-sf-tc154b-8377a-n.patch diff --git a/board/funkey/patches/linux/0002-added-240x240-boot-logo.patch b/FunKey/board/funkey/patches/linux/0002-added-240x240-boot-logo.patch similarity index 100% rename from board/funkey/patches/linux/0002-added-240x240-boot-logo.patch rename to FunKey/board/funkey/patches/linux/0002-added-240x240-boot-logo.patch diff --git a/board/funkey/patches/linux/0003-rotated-screen-90-degrees-CW.patch b/FunKey/board/funkey/patches/linux/0003-rotated-screen-90-degrees-CW.patch similarity index 100% rename from board/funkey/patches/linux/0003-rotated-screen-90-degrees-CW.patch rename to FunKey/board/funkey/patches/linux/0003-rotated-screen-90-degrees-CW.patch diff --git a/board/funkey/patches/linux/0004-add-funkey-dts.patch b/FunKey/board/funkey/patches/linux/0004-add-funkey-dts.patch similarity index 100% rename from board/funkey/patches/linux/0004-add-funkey-dts.patch rename to FunKey/board/funkey/patches/linux/0004-add-funkey-dts.patch diff --git a/board/funkey/patches/linux/0005-add-funkey-dts-to-Makefile.patch b/FunKey/board/funkey/patches/linux/0005-add-funkey-dts-to-Makefile.patch similarity index 100% rename from board/funkey/patches/linux/0005-add-funkey-dts-to-Makefile.patch rename to FunKey/board/funkey/patches/linux/0005-add-funkey-dts-to-Makefile.patch diff --git a/board/funkey/patches/linux/a/arch/arm/boot/dts/sun8i-v3s-funkey.dts b/FunKey/board/funkey/patches/linux/a/arch/arm/boot/dts/sun8i-v3s-funkey.dts similarity index 100% rename from board/funkey/patches/linux/a/arch/arm/boot/dts/sun8i-v3s-funkey.dts rename to FunKey/board/funkey/patches/linux/a/arch/arm/boot/dts/sun8i-v3s-funkey.dts diff --git a/board/funkey/patches/uboot/0001-add-funkey-dts.patch b/FunKey/board/funkey/patches/uboot/0001-add-funkey-dts.patch similarity index 100% rename from board/funkey/patches/uboot/0001-add-funkey-dts.patch rename to FunKey/board/funkey/patches/uboot/0001-add-funkey-dts.patch diff --git a/board/funkey/patches/uboot/0002-add-funkey-dts-to-Makfile.patch b/FunKey/board/funkey/patches/uboot/0002-add-funkey-dts-to-Makfile.patch similarity index 100% rename from board/funkey/patches/uboot/0002-add-funkey-dts-to-Makfile.patch rename to FunKey/board/funkey/patches/uboot/0002-add-funkey-dts-to-Makfile.patch diff --git a/board/funkey/patches/uboot/a/arch/arm/dts/sun8i-v3s-funkey.dts b/FunKey/board/funkey/patches/uboot/a/arch/arm/dts/sun8i-v3s-funkey.dts similarity index 100% rename from board/funkey/patches/uboot/a/arch/arm/dts/sun8i-v3s-funkey.dts rename to FunKey/board/funkey/patches/uboot/a/arch/arm/dts/sun8i-v3s-funkey.dts diff --git a/board/funkey/post-build.sh b/FunKey/board/funkey/post-build.sh similarity index 100% rename from board/funkey/post-build.sh rename to FunKey/board/funkey/post-build.sh diff --git a/board/funkey/readme.txt b/FunKey/board/funkey/readme.txt similarity index 77% rename from board/funkey/readme.txt rename to FunKey/board/funkey/readme.txt index 1724e8b..75aeb5a 100644 --- a/board/funkey/readme.txt +++ b/FunKey/board/funkey/readme.txt @@ -3,8 +3,8 @@ Intro ===== -This directory contains a buildroot configuration for building a -FunKey OS. +This directory contains a buildroot-based external configuration for +building the FunKey. How to build it =============== @@ -14,7 +14,7 @@ Configure Buildroot There is only one FunKey defconfig files in Buildroot: - $ make funkey_defconfig + $ ./fun funkey_defconfig Build the rootfs ---------------- @@ -22,9 +22,9 @@ Build the rootfs Note: you will need to have access to the network, since Buildroot will download the packages' sources. -You may now build your rootfs with: +You may now build your FunKey with: - $ make + $ ./have fun (This may take a while, consider getting yourself a coffee ;-) ) @@ -33,7 +33,7 @@ Result of the build After building, you should obtain this tree: - output/images/ + FunKey/output/images/ +-- boot.scr +-- boot.vfat +-- rootfs.ext2 @@ -49,11 +49,11 @@ How to write the SD card ======================== Once the build process is finished you will have an image called -"sdcard.img" in the output/images/ directory. +"sdcard.img" in the FunKey/output/images/ directory. Copy the bootable "sdcard.img" onto an SD card with "dd": - $ sudo dd if=output/images/sdcard.img of=/dev/sdX + $ sudo dd if=/FunKey/output/images/sdcard.img of=/dev/sdX Alternatively, you can use the Etcher graphical tool to burn the image to the SD card safely and on any platform: diff --git a/board/funkey/rootfs-overlay/etc/init.d/S02resize_rootfs b/FunKey/board/funkey/rootfs-overlay/etc/init.d/S02resize_rootfs similarity index 100% rename from board/funkey/rootfs-overlay/etc/init.d/S02resize_rootfs rename to FunKey/board/funkey/rootfs-overlay/etc/init.d/S02resize_rootfs diff --git a/board/funkey/rootfs-overlay/etc/init.d/S03swap b/FunKey/board/funkey/rootfs-overlay/etc/init.d/S03swap similarity index 100% rename from board/funkey/rootfs-overlay/etc/init.d/S03swap rename to FunKey/board/funkey/rootfs-overlay/etc/init.d/S03swap diff --git a/board/funkey/rootfs-overlay/etc/init.d/S04modules b/FunKey/board/funkey/rootfs-overlay/etc/init.d/S04modules similarity index 100% rename from board/funkey/rootfs-overlay/etc/init.d/S04modules rename to FunKey/board/funkey/rootfs-overlay/etc/init.d/S04modules diff --git a/board/funkey/rootfs-overlay/etc/init.d/S50alsa-utils b/FunKey/board/funkey/rootfs-overlay/etc/init.d/S50alsa-utils similarity index 100% rename from board/funkey/rootfs-overlay/etc/init.d/S50alsa-utils rename to FunKey/board/funkey/rootfs-overlay/etc/init.d/S50alsa-utils diff --git a/board/funkey/rootfs-overlay/etc/issue b/FunKey/board/funkey/rootfs-overlay/etc/issue similarity index 100% rename from board/funkey/rootfs-overlay/etc/issue rename to FunKey/board/funkey/rootfs-overlay/etc/issue diff --git a/board/funkey/rootfs-overlay/etc/sysconfig/modules b/FunKey/board/funkey/rootfs-overlay/etc/sysconfig/modules similarity index 100% rename from board/funkey/rootfs-overlay/etc/sysconfig/modules rename to FunKey/board/funkey/rootfs-overlay/etc/sysconfig/modules diff --git a/board/funkey/rootfs-overlay/lib/lsb/init-functions b/FunKey/board/funkey/rootfs-overlay/lib/lsb/init-functions similarity index 100% rename from board/funkey/rootfs-overlay/lib/lsb/init-functions rename to FunKey/board/funkey/rootfs-overlay/lib/lsb/init-functions diff --git a/board/funkey/rootfs-overlay/usr/sbin/resize_rootfs b/FunKey/board/funkey/rootfs-overlay/usr/sbin/resize_rootfs similarity index 100% rename from board/funkey/rootfs-overlay/usr/sbin/resize_rootfs rename to FunKey/board/funkey/rootfs-overlay/usr/sbin/resize_rootfs diff --git a/board/funkey/rootfs-overlay/usr/sbin/share b/FunKey/board/funkey/rootfs-overlay/usr/sbin/share similarity index 100% rename from board/funkey/rootfs-overlay/usr/sbin/share rename to FunKey/board/funkey/rootfs-overlay/usr/sbin/share diff --git a/board/funkey/rootfs-overlay/usr/share/alsa/utils.sh b/FunKey/board/funkey/rootfs-overlay/usr/share/alsa/utils.sh similarity index 100% rename from board/funkey/rootfs-overlay/usr/share/alsa/utils.sh rename to FunKey/board/funkey/rootfs-overlay/usr/share/alsa/utils.sh diff --git a/board/funkey/uboot.config b/FunKey/board/funkey/uboot.config similarity index 100% rename from board/funkey/uboot.config rename to FunKey/board/funkey/uboot.config diff --git a/board/funkey/users_table.txt b/FunKey/board/funkey/users_table.txt similarity index 100% rename from board/funkey/users_table.txt rename to FunKey/board/funkey/users_table.txt diff --git a/configs/funkey_defconfig b/FunKey/configs/funkey_defconfig similarity index 99% rename from configs/funkey_defconfig rename to FunKey/configs/funkey_defconfig index b91c88a..76c1109 100644 --- a/configs/funkey_defconfig +++ b/FunKey/configs/funkey_defconfig @@ -63,6 +63,7 @@ BR2_PACKAGE_XAPP_XPROP=y BR2_PACKAGE_XAPP_XSET=y BR2_PACKAGE_XAPP_XSETROOT=y BR2_PACKAGE_XDRIVER_XF86_VIDEO_FBDEV=y +BR2_PACKAGE_XTERM=y BR2_PACKAGE_DHCPCD=y BR2_PACKAGE_DROPBEAR=y BR2_PACKAGE_WPA_SUPPLICANT=y diff --git a/external.desc b/FunKey/external.desc similarity index 100% rename from external.desc rename to FunKey/external.desc diff --git a/external.mk b/FunKey/external.mk similarity index 100% rename from external.mk rename to FunKey/external.mk diff --git a/package/mednafen/0001-disable-opengl.patch b/FunKey/package/mednafen/0001-disable-opengl.patch similarity index 100% rename from package/mednafen/0001-disable-opengl.patch rename to FunKey/package/mednafen/0001-disable-opengl.patch diff --git a/package/mednafen/0002-mednafen-buggy-test-gcc-81740.patch b/FunKey/package/mednafen/0002-mednafen-buggy-test-gcc-81740.patch similarity index 100% rename from package/mednafen/0002-mednafen-buggy-test-gcc-81740.patch rename to FunKey/package/mednafen/0002-mednafen-buggy-test-gcc-81740.patch diff --git a/package/mednafen/Config.in b/FunKey/package/mednafen/Config.in similarity index 100% rename from package/mednafen/Config.in rename to FunKey/package/mednafen/Config.in diff --git a/package/mednafen/mednafen.mk b/FunKey/package/mednafen/mednafen.mk similarity index 100% rename from package/mednafen/mednafen.mk rename to FunKey/package/mednafen/mednafen.mk diff --git a/README.md b/README.md index d00dbd1..368c27b 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Intro ===== -This directory contains a buildroot external configuration for +This directory contains a buildroot-based external configuration for building the FunKey. How to build it @@ -14,8 +14,7 @@ Configure Buildroot There is only one Funkey defconfig files in Buildroot: - $ make BR2_EXTERNAL= O=/output - funkey_defconfig + $ ./fun funkey_defconfig Build the rootfs ---------------- @@ -23,9 +22,9 @@ Build the rootfs Note: you will need to have access to the network, since Buildroot will download the packages' sources. -You may now build your rootfs with: +You may now build your FunKey with: - $ make BR2_EXTERNAL= O=/output + $ ./have fun (This may take a while, consider getting yourself a coffee ;-) ) @@ -34,14 +33,13 @@ Result of the build After building, you should obtain this tree: - output/images/ + FunKey/output/images/ +-- boot.scr +-- boot.vfat +-- rootfs.ext2 +-- rootfs.ext4 -> rootfs.ext2 +-- sdcard.img - +-- sun8i-v3s-licheepi-zero-dock.dtb - +-- sun8i-v3s-licheepi-zero.dtb + +-- sun8i-v3s-funkey.dtb +-- u-boot.bin +-- u-boot-sunxi-with-spl.bin `-- zImage @@ -50,13 +48,17 @@ How to write the SD card ======================== Once the build process is finished you will have an image called -"sdcard.img" in the output/images/ directory. +"sdcard.img" in the FunKey/output/images/ directory. Copy the bootable "sdcard.img" onto an SD card with "dd": - $ sudo dd if=/output/images/sdcard.img of=/dev/sdX + $ sudo dd if=/FunKey/output/images/sdcard.img of=/dev/sdX -Insert the SDcard into your Funkey board, and power it up. Your new -system should come up now and start two consoles: one on the serial -port on the P1 header, one on the LCD output where you can login using -a USB keyboard. +Alternatively, you can use the Etcher graphical tool to burn the image +to the SD card safely and on any platform: + +https://etcher.io/ + +Once the SD card is burned, insert it into your FunKey board, and +power it up. Your new system should come up now and start a console on +the UART0 serial port. diff --git a/board/funkey/rootfs-overlay/usr/sbin/activate_wifi b/board/funkey/rootfs-overlay/usr/sbin/activate_wifi deleted file mode 100755 index fd97f7d..0000000 --- a/board/funkey/rootfs-overlay/usr/sbin/activate_wifi +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh - -#set -x - -THIS=$(basename $0) - -if [ $(id -u) -ne 0 ]; then - echo "This script must be run as root. Try 'sudo activate_wifi '" >&2 - exit 1 -fi - -if [ $# -ne 2 ]; then - echo "Usage: ${0} " >&2 - exit 2 -fi - -SSID=${1} -PASSWORD=${2} - -cat < /etc/wpa_supplicant.conf -ctrl_interface=/var/run/wpa_supplicant -ctrl_interface_group=0 -ap_scan=1 -network={ - ssid="$SSID" - psk="$PASSWORD" - scan_ssid=1 - key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE - pairwise=TKIP CCMP - group=CCMP TKIP WEP104 WEP40 - priority=5 -} -EOF - -egrep '^iface wlan0' /etc/network/interfaces -if [ $? -ne 0 ]; then - cat <>/etc/network/interfaces - -auto wlan0 -iface wlan0 inet dhcp - pre-up wpa_supplicant -Dnl80211 -i wlan0 -c /etc/wpa_supplicant.conf -B - post-down killall -q wpa_supplicant -EOF -fi -ifup wlan0 diff --git a/buildroot b/buildroot new file mode 160000 index 0000000..4fa5241 --- /dev/null +++ b/buildroot @@ -0,0 +1 @@ +Subproject commit 4fa524144bd2019f98159f21802de08be7b5bea0 diff --git a/fun b/fun new file mode 100755 index 0000000..4084dd1 --- /dev/null +++ b/fun @@ -0,0 +1,2 @@ +#!/bin/sh +make -C buildroot BR2_EXTERNAL=../FunKey O=../FunKey/output $* diff --git a/have b/have new file mode 100755 index 0000000..d62e6d0 --- /dev/null +++ b/have @@ -0,0 +1,11 @@ +#!/bin/sh + +case "$1" in + fun) + buildroot/utils/brmake -C buildroot BR2_EXTERNAL=../FunKey O=../FunKey/output + ;; + *) + echo "You can only have fun!" >&2 + exit 1 + ;; +esac diff --git a/package/rtl8723bs-firmware/Config.in b/package/rtl8723bs-firmware/Config.in deleted file mode 100644 index 7a07775..0000000 --- a/package/rtl8723bs-firmware/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_RTL8723BS_FIRMWARE - bool "rtl8723bs-firmware" - depends on BR2_LINUX_KERNEL - help - rtl8723bs wifi driver - - https://github.com/hadess/rtl8723bs - -comment "This package only contains the binary firmware for the RTL8723BS Wi-Fi chip, as the driver itself is now in linux staging" - depends on !BR2_LINUX_KERNEL diff --git a/package/rtl8723bs-firmware/rtl8723bs-firmware.mk b/package/rtl8723bs-firmware/rtl8723bs-firmware.mk deleted file mode 100644 index bc54b2b..0000000 --- a/package/rtl8723bs-firmware/rtl8723bs-firmware.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# rtl8723bs-firmware -# -################################################################################ - -RTL8723BS_FIRMWARE_VERSION = cc77e7b6092c54500058cd027b679421b9399905 -RTL8723BS_FIRMWARE_SITE = $(call github,hadess,rtl8723bs,$(RTL8723BS_FIRMWARE_VERSION)) -RTL8723BS_FIRMWARE_LICENSE = GPL-2.0, proprietary (*.bin firmware blobs) - -RTL8723BS_FIRMWARE_BINS = rtl8723bs_ap_wowlan.bin rtl8723bs_wowlan.bin \ - rtl8723bs_bt.bin rtl8723bs_nic.bin - -define RTL8723BS_FIRMWARE_INSTALL_FIRMWARE - $(foreach bin, $(RTL8723BS_FIRMWARE_BINS), \ - $(INSTALL) -D -m 644 $(@D)/$(bin) $(TARGET_DIR)/lib/firmware/rtlwifi/$(bin) - ) -endef -RTL8723BS_FIRMWARE_POST_INSTALL_TARGET_HOOKS += RTL8723BS_INSTALL_FIRMWARE - -$(eval $(generic-package))