Browse Source

- move rtl8192eu to packages

master
vanhofen 3 years ago
parent
commit
e9b4e13ca9
  1. 21
      make/linux-drivers.mk
  2. 30
      package/rtl8192eu/rtl8192eu.mk

21
make/linux-drivers.mk

@ -3,27 +3,6 @@
#
# -----------------------------------------------------------------------------
RTL8192EU_VERSION = git
RTL8192EU_DIR = rtl8192eu-linux-driver.$(RTL8192EU_VERSION)
RTL8192EU_SOURCE = rtl8192eu-linux-driver.$(RTL8192EU_VERSION)
RTL8192EU_SITE = https://github.com/mange/$(RTL8192EU_SOURCE)
RTL8192EU_CHECKOUT = 60aa279428024ea78dcffe2c181ffee3cc1495f5
rtl8192eu: kernel-$(BOXTYPE) | $(TARGET_DIR)
$(REMOVE)/$(RTL8192EU_DIR)
$(GET_GIT_SOURCE) $(RTL8192EU_SITE) $(DL_DIR)/$(RTL8192EU_SOURCE)
$(CPDIR)/$(RTL8192EU_SOURCE)
$(CHDIR)/$(RTL8192EU_DIR); \
git checkout $(RTL8192EU_CHECKOUT); \
$(MAKE) $(KERNEL_MAKE_VARS); \
$(INSTALL_DATA) 8192eu.ko $(TARGET_modulesdir)/kernel/drivers/net/wireless/
$(LINUX_RUN_DEPMOD)
$(REMOVE)/$(RTL8192EU_DIR)
$(TOUCH)
# -----------------------------------------------------------------------------
RTL8812AU_VERSION = 4.3.14
RTL8812AU_DIR = rtl8812AU-driver-$(RTL8812AU_VERSION)
RTL8812AU_SOURCE = rtl8812AU-driver-$(RTL8812AU_VERSION).zip

30
package/rtl8192eu/rtl8192eu.mk

@ -0,0 +1,30 @@
################################################################################
#
# rtl8192eu
#
################################################################################
RTL8192EU_VERSION = git
RTL8192EU_DIR = rtl8192eu-linux-driver.$(RTL8192EU_VERSION)
RTL8192EU_SOURCE = rtl8192eu-linux-driver.$(RTL8192EU_VERSION)
RTL8192EU_SITE = https://github.com/mange/$(RTL8192EU_SOURCE)
RTL8192EU_CHECKOUT = 60aa279428024ea78dcffe2c181ffee3cc1495f5
RTL8192EU_DEPENDENCIES = kernel-$(BOXTYPE)
define RTL8192EU_INSTALL_BINARY
$(INSTALL_DATA) -D $(PKG_BUILD_DIR)/8192eu.ko $(TARGET_modulesdir)/kernel/drivers/net/wireless/8192eu.ko
endef
RTL8192EU_PRE_FOLLOWUP_HOOKS += RTL8192EU_INSTALL_BINARY
define RTL8192EU_RUN_DEPMOD
$(LINUX_RUN_DEPMOD)
endef
RTL8192EU_TARGET_FINALIZE_HOOKS += RTL8192EU_RUN_DEPMOD
rtl8192eu: | $(TARGET_DIR)
$(call PREPARE)
$(CHDIR)/$($(PKG)_DIR); \
$(MAKE) $(KERNEL_MAKE_VARS)
$(call TARGET_FOLLOWUP)
Loading…
Cancel
Save