builds!
This commit is contained in:
1 parent
18969de3cd
commit
83a61dd13b
7 files changed
+2824
-63
No files matched your search
@@ -18,8 +18,9 @@ FROM base
|
||||
|
||||
RUN git clone --depth=1 https://github.com/immortalwrt/immortalwrt openwrt
|
||||
|
||||
# Restoring default feeds.
|
||||
# COPY feeds.conf.default openwrt/
|
||||
COPY mods/ath.mk openwrt/package/kernel/mac80211/ath.mk
|
||||
COPY mods/netdevices.mk openwrt/package/kernel/linux/modules/netdevices.mk
|
||||
|
||||
|
||||
RUN openwrt/scripts/feeds update -a && \
|
||||
openwrt/scripts/feeds install -a
|
||||
|
||||
+2
-31
@@ -10,29 +10,10 @@ CONFIG_MODEMMANAGER_WITH_QMI=y
|
||||
CONFIG_MODEMMANAGER_WITH_QRTR=y
|
||||
CONFIG_PACKAGE_cgi-io=y
|
||||
CONFIG_PACKAGE_dbus=y
|
||||
CONFIG_PACKAGE_debugfs=y
|
||||
CONFIG_PACKAGE_default-settings=y
|
||||
CONFIG_PACKAGE_glib2=y
|
||||
CONFIG_PACKAGE_ip-tiny=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-chacha20=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-chacha20poly1305=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-curve25519=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-poly1305=y
|
||||
CONFIG_PACKAGE_kmod-mii=y
|
||||
CONFIG_PACKAGE_kmod-tun=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel6=y
|
||||
CONFIG_PACKAGE_kmod-usb-core=y
|
||||
CONFIG_PACKAGE_kmod-usb-gadget-mass-storage=y
|
||||
CONFIG_PACKAGE_kmod-usb-gadget-ncm=y
|
||||
CONFIG_PACKAGE_kmod-usb-gadget-serial=y
|
||||
CONFIG_PACKAGE_kmod-usb-net=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y
|
||||
CONFIG_PACKAGE_kmod-usb-wdm=y
|
||||
CONFIG_PACKAGE_kmod-wireguard=y
|
||||
CONFIG_PACKAGE_libattr=y
|
||||
CONFIG_PACKAGE_libdbus=y
|
||||
CONFIG_PACKAGE_libexpat=y
|
||||
@@ -40,7 +21,6 @@ CONFIG_PACKAGE_libffi=y
|
||||
CONFIG_PACKAGE_liblucihttp=y
|
||||
CONFIG_PACKAGE_liblucihttp-ucode=y
|
||||
CONFIG_PACKAGE_libmbim=y
|
||||
CONFIG_PACKAGE_libncurses=y
|
||||
CONFIG_PACKAGE_libpcre2=y
|
||||
CONFIG_PACKAGE_libqmi=y
|
||||
CONFIG_PACKAGE_libqrtr-glib=y
|
||||
@@ -48,7 +28,6 @@ CONFIG_PACKAGE_luci=y
|
||||
CONFIG_PACKAGE_luci-app-firewall=y
|
||||
CONFIG_PACKAGE_luci-app-package-manager=y
|
||||
CONFIG_PACKAGE_luci-base=y
|
||||
CONFIG_PACKAGE_luci-lib-uqr=y
|
||||
CONFIG_PACKAGE_luci-light=y
|
||||
CONFIG_PACKAGE_luci-mod-admin-full=y
|
||||
CONFIG_PACKAGE_luci-mod-network=y
|
||||
@@ -57,31 +36,23 @@ CONFIG_PACKAGE_luci-mod-system=y
|
||||
CONFIG_PACKAGE_luci-proto-ipv6=y
|
||||
CONFIG_PACKAGE_luci-proto-modemmanager=y
|
||||
CONFIG_PACKAGE_luci-proto-ppp=y
|
||||
CONFIG_PACKAGE_luci-proto-qmi=y
|
||||
CONFIG_PACKAGE_luci-proto-wireguard=y
|
||||
CONFIG_PACKAGE_luci-theme-bootstrap=y
|
||||
CONFIG_PACKAGE_modemmanager=y
|
||||
CONFIG_PACKAGE_msm8916-usb-gadget=y
|
||||
CONFIG_PACKAGE_mtools=y
|
||||
CONFIG_PACKAGE_nano=y
|
||||
CONFIG_PACKAGE_qmi-utils=y
|
||||
CONFIG_PACKAGE_resolveip=y
|
||||
CONFIG_PACKAGE_rpcd=y
|
||||
CONFIG_PACKAGE_rpcd-mod-file=y
|
||||
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
|
||||
CONFIG_PACKAGE_rpcd-mod-luci=y
|
||||
CONFIG_PACKAGE_rpcd-mod-rrdns=y
|
||||
CONFIG_PACKAGE_rpcd-mod-ucode=y
|
||||
CONFIG_PACKAGE_terminfo=y
|
||||
CONFIG_PACKAGE_ucode-mod-html=y
|
||||
CONFIG_PACKAGE_ucode-mod-log=y
|
||||
CONFIG_PACKAGE_ucode-mod-math=y
|
||||
CONFIG_PACKAGE_uhttpd=y
|
||||
CONFIG_PACKAGE_uhttpd-mod-ubus=y
|
||||
CONFIG_PACKAGE_umbim=y
|
||||
CONFIG_PACKAGE_uqmi=y
|
||||
CONFIG_PACKAGE_wireguard-tools=y
|
||||
CONFIG_PACKAGE_wwan=y
|
||||
# CONFIG_TARGET_IMAGES_GZIP is not set
|
||||
# CONFIG_TARGET_ROOTFS_SQUASHFS is not set
|
||||
# CONFIG_PACKAGE_kmod-crypto-kpp is not set
|
||||
# CONFIG_PACKAGE_libncurses is not set
|
||||
# CONFIG_PACKAGE_terminfo is not set
|
||||
+23
-29
@@ -20,6 +20,7 @@ CONFIG_TARGET_msm89xx=y
|
||||
# CONFIG_TARGET_bmips is not set
|
||||
# CONFIG_TARGET_octeon is not set
|
||||
# CONFIG_TARGET_gemini is not set
|
||||
# CONFIG_TARGET_econet is not set
|
||||
# CONFIG_TARGET_mpc85xx is not set
|
||||
# CONFIG_TARGET_mxs is not set
|
||||
# CONFIG_TARGET_ixp4xx is not set
|
||||
@@ -1713,7 +1714,7 @@ CONFIG_PACKAGE_procd-ujail=y
|
||||
# CONFIG_PACKAGE_qos-scripts is not set
|
||||
# CONFIG_PACKAGE_qosify is not set
|
||||
# CONFIG_PACKAGE_refpolicy is not set
|
||||
CONFIG_PACKAGE_resolveip=y
|
||||
# CONFIG_PACKAGE_resolveip is not set
|
||||
CONFIG_PACKAGE_rpcd=y
|
||||
CONFIG_PACKAGE_rpcd-mod-file=y
|
||||
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
|
||||
@@ -2226,10 +2227,6 @@ CONFIG_PACKAGE_kmod-crypto-hmac=y
|
||||
# CONFIG_PACKAGE_kmod-crypto-hw-atmel is not set
|
||||
# CONFIG_PACKAGE_kmod-crypto-hw-padlock is not set
|
||||
# CONFIG_PACKAGE_kmod-crypto-kpp is not set
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-chacha20=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-chacha20poly1305=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-curve25519=y
|
||||
CONFIG_PACKAGE_kmod-crypto-lib-poly1305=y
|
||||
CONFIG_PACKAGE_kmod-crypto-manager=y
|
||||
# CONFIG_PACKAGE_kmod-crypto-md4 is not set
|
||||
# CONFIG_PACKAGE_kmod-crypto-md5 is not set
|
||||
@@ -2638,7 +2635,7 @@ CONFIG_PACKAGE_kmod-bam-dmux=y
|
||||
# CONFIG_PACKAGE_kmod-libphy is not set
|
||||
CONFIG_PACKAGE_kmod-macvlan=y
|
||||
# CONFIG_PACKAGE_kmod-mdio-gpio is not set
|
||||
CONFIG_PACKAGE_kmod-mii=y
|
||||
# CONFIG_PACKAGE_kmod-mii is not set
|
||||
# CONFIG_PACKAGE_kmod-mlxfw is not set
|
||||
# CONFIG_PACKAGE_kmod-net-selftests is not set
|
||||
# CONFIG_PACKAGE_kmod-of-mdio is not set
|
||||
@@ -2763,14 +2760,12 @@ CONFIG_PACKAGE_kmod-slhc=y
|
||||
# CONFIG_PACKAGE_kmod-tcp-scalable is not set
|
||||
# CONFIG_PACKAGE_kmod-tls is not set
|
||||
# CONFIG_PACKAGE_kmod-trelay is not set
|
||||
CONFIG_PACKAGE_kmod-tun=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel4=y
|
||||
CONFIG_PACKAGE_kmod-udptunnel6=y
|
||||
# CONFIG_PACKAGE_kmod-tun is not set
|
||||
# CONFIG_PACKAGE_kmod-unix-diag is not set
|
||||
# CONFIG_PACKAGE_kmod-veth is not set
|
||||
# CONFIG_PACKAGE_kmod-vrf is not set
|
||||
# CONFIG_PACKAGE_kmod-vxlan is not set
|
||||
CONFIG_PACKAGE_kmod-wireguard=y
|
||||
# CONFIG_PACKAGE_kmod-wireguard is not set
|
||||
# end of Network Support
|
||||
|
||||
#
|
||||
@@ -2870,14 +2865,13 @@ CONFIG_PACKAGE_kmod-qcom-rproc-wcnss=y
|
||||
# CONFIG_PACKAGE_kmod-usb-cdns is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-cdns3 is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-cm109 is not set
|
||||
CONFIG_PACKAGE_kmod-usb-core=y
|
||||
# CONFIG_PACKAGE_kmod-usb-core is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-dwc2 is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-dwc3 is not set
|
||||
CONFIG_PACKAGE_kmod-usb-gadget=y
|
||||
# CONFIG_PACKAGE_kmod-usb-gadget-cdc-composite is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-gadget-ehci-debug is not set
|
||||
CONFIG_PACKAGE_kmod-usb-gadget-eth=y
|
||||
# CONFIG_PACKAGE_kmod-usb-gadget-functionfs is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-gadget-hid is not set
|
||||
CONFIG_PACKAGE_kmod-usb-gadget-mass-storage=y
|
||||
CONFIG_PACKAGE_kmod-usb-gadget-ncm=y
|
||||
@@ -2887,14 +2881,14 @@ CONFIG_PACKAGE_kmod-usb-gadget-serial=y
|
||||
# CONFIG_PACKAGE_kmod-usb-hid-mcp2221 is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-ledtrig-usbport is not set
|
||||
CONFIG_PACKAGE_kmod-usb-lib-composite=y
|
||||
CONFIG_PACKAGE_kmod-usb-net=y
|
||||
# CONFIG_PACKAGE_kmod-usb-net is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-net-aqc111 is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-net-asix is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-net-asix-ax88179 is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-net-cdc-eem is not set
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-mbim=y
|
||||
CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y
|
||||
# CONFIG_PACKAGE_kmod-usb-net-cdc-ether is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-net-cdc-mbim is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-net-cdc-ncm is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-net-cdc-subset is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-net-dm9601-ether is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-net-hso is not set
|
||||
@@ -2906,7 +2900,7 @@ CONFIG_PACKAGE_kmod-usb-net-cdc-ncm=y
|
||||
# CONFIG_PACKAGE_kmod-usb-net-mcs7830 is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-net-pegasus is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-net-pl is not set
|
||||
CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y
|
||||
# CONFIG_PACKAGE_kmod-usb-net-qmi-wwan is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-net-qmi-wwan-fibocom is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-net-qmi-wwan-quectel is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-net-rndis is not set
|
||||
@@ -2947,7 +2941,7 @@ CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y
|
||||
# CONFIG_PACKAGE_kmod-usb-storage-extras is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-storage-uas is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-uhci is not set
|
||||
CONFIG_PACKAGE_kmod-usb-wdm=y
|
||||
# CONFIG_PACKAGE_kmod-usb-wdm is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-xhci-pci-renesas is not set
|
||||
# CONFIG_PACKAGE_kmod-usb-yealink is not set
|
||||
# CONFIG_PACKAGE_kmod-usb2 is not set
|
||||
@@ -5232,14 +5226,14 @@ CONFIG_PACKAGE_luci-proto-modemmanager=y
|
||||
# CONFIG_PACKAGE_luci-proto-openfortivpn is not set
|
||||
CONFIG_PACKAGE_luci-proto-ppp=y
|
||||
# CONFIG_PACKAGE_luci-proto-pppossh is not set
|
||||
CONFIG_PACKAGE_luci-proto-qmi=y
|
||||
# CONFIG_PACKAGE_luci-proto-qmi is not set
|
||||
# CONFIG_PACKAGE_luci-proto-quectel is not set
|
||||
# CONFIG_PACKAGE_luci-proto-relay is not set
|
||||
# CONFIG_PACKAGE_luci-proto-sstp is not set
|
||||
# CONFIG_PACKAGE_luci-proto-unet is not set
|
||||
# CONFIG_PACKAGE_luci-proto-vpnc is not set
|
||||
# CONFIG_PACKAGE_luci-proto-vxlan is not set
|
||||
CONFIG_PACKAGE_luci-proto-wireguard=y
|
||||
# CONFIG_PACKAGE_luci-proto-wireguard is not set
|
||||
# CONFIG_PACKAGE_luci-proto-yggdrasil is not set
|
||||
# end of 5. Protocols
|
||||
|
||||
@@ -5261,10 +5255,10 @@ CONFIG_PACKAGE_luci-proto-wireguard=y
|
||||
# CONFIG_PACKAGE_luci-lib-nixio_cyassl is not set
|
||||
CONFIG_PACKAGE_luci-lib-nixio_openssl=y
|
||||
# CONFIG_PACKAGE_luci-lib-px5g is not set
|
||||
CONFIG_PACKAGE_luci-lib-uqr=y
|
||||
# CONFIG_PACKAGE_luci-lib-uqr is not set
|
||||
# end of 6. Libraries
|
||||
|
||||
CONFIG_PACKAGE_default-settings=y
|
||||
# CONFIG_PACKAGE_default-settings is not set
|
||||
# CONFIG_PACKAGE_default-settings-chn is not set
|
||||
# CONFIG_PACKAGE_luci-i18n-base-ar is not set
|
||||
# CONFIG_PACKAGE_luci-i18n-base-bg is not set
|
||||
@@ -5907,7 +5901,7 @@ CONFIG_PACKAGE_knot-resolver_dnstap=y
|
||||
# CONFIG_PACKAGE_igmpproxy is not set
|
||||
# CONFIG_PACKAGE_ip-bridge is not set
|
||||
# CONFIG_PACKAGE_ip-full is not set
|
||||
CONFIG_PACKAGE_ip-tiny=y
|
||||
# CONFIG_PACKAGE_ip-tiny is not set
|
||||
# CONFIG_PACKAGE_lldpd is not set
|
||||
# CONFIG_PACKAGE_mrmctl is not set
|
||||
# CONFIG_PACKAGE_mwan3 is not set
|
||||
@@ -6110,7 +6104,7 @@ CONFIG_PACKAGE_ip-tiny=y
|
||||
# CONFIG_PACKAGE_vpnc-scripts is not set
|
||||
# CONFIG_PACKAGE_wgsd-client is not set
|
||||
# CONFIG_PACKAGE_wgsd-coredns is not set
|
||||
CONFIG_PACKAGE_wireguard-tools=y
|
||||
# CONFIG_PACKAGE_wireguard-tools is not set
|
||||
# CONFIG_PACKAGE_xl2tpd is not set
|
||||
# CONFIG_PACKAGE_zerotier is not set
|
||||
# end of VPN
|
||||
@@ -6136,8 +6130,8 @@ CONFIG_PACKAGE_wireguard-tools=y
|
||||
# CONFIG_PACKAGE_modemband is not set
|
||||
# CONFIG_PACKAGE_quectel-cm is not set
|
||||
# CONFIG_PACKAGE_sendat is not set
|
||||
CONFIG_PACKAGE_umbim=y
|
||||
CONFIG_PACKAGE_uqmi=y
|
||||
# CONFIG_PACKAGE_umbim is not set
|
||||
# CONFIG_PACKAGE_uqmi is not set
|
||||
# end of WWAN
|
||||
|
||||
#
|
||||
@@ -6645,7 +6639,7 @@ CONFIG_PACKAGE_uclient-fetch=y
|
||||
# CONFIG_PACKAGE_wg-installer-server is not set
|
||||
# CONFIG_PACKAGE_wifi-presence is not set
|
||||
# CONFIG_PACKAGE_wpan-tools is not set
|
||||
CONFIG_PACKAGE_wwan=y
|
||||
# CONFIG_PACKAGE_wwan is not set
|
||||
# CONFIG_PACKAGE_xdp-filter is not set
|
||||
# CONFIG_PACKAGE_xdp-loader is not set
|
||||
# CONFIG_PACKAGE_xdpdump is not set
|
||||
@@ -6788,7 +6782,7 @@ CONFIG_PACKAGE_wwan=y
|
||||
# CONFIG_PACKAGE_lvm2 is not set
|
||||
# CONFIG_PACKAGE_lvm2-selinux is not set
|
||||
# CONFIG_PACKAGE_mdadm is not set
|
||||
CONFIG_PACKAGE_mtools=y
|
||||
# CONFIG_PACKAGE_mtools is not set
|
||||
# CONFIG_PACKAGE_nvme-cli is not set
|
||||
# CONFIG_PACKAGE_parted is not set
|
||||
CONFIG_PACKAGE_partx-utils=y
|
||||
@@ -6851,7 +6845,7 @@ CONFIG_PACKAGE_nano=y
|
||||
# CONFIG_PACKAGE_badblocks is not set
|
||||
# CONFIG_PACKAGE_btrfs-progs is not set
|
||||
# CONFIG_PACKAGE_chattr is not set
|
||||
CONFIG_PACKAGE_debugfs=y
|
||||
# CONFIG_PACKAGE_debugfs is not set
|
||||
# CONFIG_PACKAGE_dosfstools is not set
|
||||
# CONFIG_PACKAGE_dumpe2fs is not set
|
||||
# CONFIG_PACKAGE_e2freefrag is not set
|
||||
|
||||
+452
@@ -0,0 +1,452 @@
|
||||
PKG_DRIVERS += \
|
||||
ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc ath10k ath10k-sdio ath10k-smallbuffers \
|
||||
ath11k ath11k-ahb ath11k-pci ath12k carl9170 owl-loader ar5523 wil6210 wcn36xx qcom-qmi-helpers
|
||||
|
||||
|
||||
PKG_CONFIG_DEPENDS += \
|
||||
CONFIG_PACKAGE_ATH_DEBUG \
|
||||
CONFIG_PACKAGE_ATH_DFS \
|
||||
CONFIG_PACKAGE_ATH_SPECTRAL \
|
||||
CONFIG_PACKAGE_ATH_DYNACK \
|
||||
CONFIG_ATH9K_HWRNG \
|
||||
CONFIG_ATH9K_SUPPORT_PCOEM \
|
||||
CONFIG_ATH9K_TX99 \
|
||||
CONFIG_ATH10K_LEDS \
|
||||
CONFIG_ATH10K_THERMAL \
|
||||
CONFIG_ATH11K_THERMAL \
|
||||
CONFIG_ATH_USER_REGD
|
||||
|
||||
ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
|
||||
config-y += \
|
||||
ATH9K_DEBUGFS \
|
||||
ATH9K_HTC_DEBUGFS \
|
||||
ATH10K_DEBUGFS \
|
||||
ATH11K_DEBUGFS \
|
||||
ATH12K_DEBUGFS \
|
||||
CARL9170_DEBUGFS \
|
||||
ATH5K_DEBUG \
|
||||
ATH6KL_DEBUG \
|
||||
WIL6210_DEBUGFS \
|
||||
WCN36XX_DEBUGFS
|
||||
endif
|
||||
|
||||
ifdef CONFIG_PACKAGE_MAC80211_TRACING
|
||||
config-y += \
|
||||
ATH10K_TRACING \
|
||||
ATH11K_TRACING \
|
||||
ATH12K_TRACING \
|
||||
ATH6KL_TRACING \
|
||||
ATH_TRACEPOINTS \
|
||||
ATH5K_TRACER \
|
||||
WIL6210_TRACING
|
||||
endif
|
||||
|
||||
config-$(call config_package,qcom-qmi-helpers) += QCOM_QMI_HELPERS
|
||||
config-$(call config_package,ath,regular sdio smallbuffers) += ATH_CARDS ATH_COMMON
|
||||
config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG ATH11K_DEBUG ATH12K_DEBUG ATH9K_STATION_STATISTICS
|
||||
config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
|
||||
config-$(CONFIG_PACKAGE_ATH_SPECTRAL) += ATH9K_COMMON_SPECTRAL ATH10K_SPECTRAL ATH11K_SPECTRAL
|
||||
config-$(CONFIG_PACKAGE_ATH_DYNACK) += ATH9K_DYNACK
|
||||
config-$(call config_package,ath9k) += ATH9K
|
||||
config-$(call config_package,ath9k-common) += ATH9K_COMMON
|
||||
config-$(call config_package,owl-loader) += ATH9K_PCI_NO_EEPROM
|
||||
config-$(CONFIG_TARGET_ath79) += ATH9K_AHB
|
||||
config-$(CONFIG_TARGET_ipq40xx) += ATH10K_AHB
|
||||
config-$(CONFIG_TARGET_msm89xx) += WCN36XX
|
||||
config-$(CONFIG_PCI) += ATH9K_PCI
|
||||
config-$(CONFIG_ATH_USER_REGD) += ATH_USER_REGD ATH_REG_DYNAMIC_USER_REG_HINTS
|
||||
config-$(CONFIG_ATH9K_HWRNG) += ATH9K_HWRNG
|
||||
config-$(CONFIG_ATH9K_SUPPORT_PCOEM) += ATH9K_PCOEM
|
||||
config-$(CONFIG_ATH9K_TX99) += ATH9K_TX99
|
||||
config-$(CONFIG_ATH9K_UBNTHSR) += ATH9K_UBNTHSR
|
||||
config-$(CONFIG_ATH10K_LEDS) += ATH10K_LEDS
|
||||
config-$(CONFIG_ATH10K_THERMAL) += ATH10K_THERMAL
|
||||
config-$(CONFIG_ATH11K_THERMAL) += ATH11K_THERMAL
|
||||
|
||||
config-$(call config_package,ath9k-htc) += ATH9K_HTC
|
||||
config-$(call config_package,ath10k,regular) += ATH10K ATH10K_PCI
|
||||
config-$(call config_package,ath10k-sdio,sdio) += ATH10K ATH10K_SDIO
|
||||
config-$(call config_package,ath10k-smallbuffers,smallbuffers) += ATH10K ATH10K_PCI ATH10K_SMALLBUFFERS
|
||||
config-$(call config_package,ath11k) += ATH11K
|
||||
config-$(call config_package,ath11k-ahb) += ATH11K_AHB
|
||||
config-$(call config_package,ath11k-pci) += ATH11K_PCI
|
||||
config-$(call config_package,ath12k) += ATH12K
|
||||
|
||||
config-$(call config_package,ath5k) += ATH5K ATH5K_PCI
|
||||
|
||||
config-$(call config_package,ath6kl) += ATH6KL
|
||||
config-$(call config_package,ath6kl-sdio) += ATH6KL_SDIO
|
||||
config-$(call config_package,ath6kl-usb) += ATH6KL_USB
|
||||
|
||||
config-$(call config_package,carl9170) += CARL9170
|
||||
config-$(call config_package,ar5523) += AR5523
|
||||
|
||||
config-$(call config_package,wil6210) += WIL6210
|
||||
|
||||
define KernelPackage/ath/config
|
||||
if PACKAGE_kmod-ath
|
||||
config ATH_USER_REGD
|
||||
bool "Force Atheros drivers to respect the user's regdomain settings"
|
||||
default y
|
||||
help
|
||||
Atheros' idea of regulatory handling is that the EEPROM of the card defines
|
||||
the regulatory limits and the user is only allowed to restrict the settings
|
||||
even further, even if the country allows frequencies or power levels that
|
||||
are forbidden by the EEPROM settings.
|
||||
|
||||
Select this option if you want the driver to respect the user's decision about
|
||||
regulatory settings.
|
||||
|
||||
config PACKAGE_ATH_DEBUG
|
||||
bool "Atheros wireless debugging"
|
||||
help
|
||||
Say Y, if you want to debug atheros wireless drivers.
|
||||
Only ath9k & ath10k & ath11k make use of this.
|
||||
|
||||
config PACKAGE_ATH_DFS
|
||||
bool "Enable DFS support"
|
||||
default y
|
||||
help
|
||||
Dynamic frequency selection (DFS) is required for most of the 5 GHz band
|
||||
channels in Europe, US, and Japan.
|
||||
|
||||
Select this option if you want to use such channels.
|
||||
|
||||
config PACKAGE_ATH_SPECTRAL
|
||||
bool "Atheros spectral scan support"
|
||||
depends on PACKAGE_ATH_DEBUG
|
||||
select KERNEL_RELAY
|
||||
help
|
||||
Say Y to enable access to the FFT/spectral data via debugfs.
|
||||
|
||||
config PACKAGE_ATH_DYNACK
|
||||
bool "Enable Dynack support"
|
||||
depends on PACKAGE_kmod-ath9k-common
|
||||
help
|
||||
Enables support for Dynamic ACK estimation, which allows the fastest possible speed
|
||||
at any distance automatically by increasing/decreasing the max frame ACK time for
|
||||
the most remote station detected. It can be enabled by using iw (iw phy0 set distance auto),
|
||||
or by sending the NL80211_ATTR_WIPHY_DYN_ACK flag to mac80211 driver using netlink.
|
||||
|
||||
Select this option if you want to enable this feature
|
||||
|
||||
endif
|
||||
endef
|
||||
|
||||
define KernelPackage/qcom-qmi-helpers
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Qualcomm QMI backports helpers
|
||||
HIDDEN:=1
|
||||
FILES:=$(PKG_BUILD_DIR)/drivers/soc/qcom/qmi_helpers.ko
|
||||
AUTOLOAD:=$(call AutoProbe,qmi_helpers)
|
||||
endef
|
||||
|
||||
define KernelPackage/ath
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Atheros common driver part
|
||||
DEPENDS+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ath79||TARGET_ath25||TARGET_msm89xx +kmod-mac80211
|
||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath.ko
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
define KernelPackage/ath/description
|
||||
This module contains some common parts needed by Atheros Wireless drivers.
|
||||
endef
|
||||
|
||||
define KernelPackage/ath5k
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Atheros 5xxx wireless cards support
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath5k
|
||||
DEPENDS+= @PCI_SUPPORT +kmod-ath
|
||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath5k/ath5k.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ath5k)
|
||||
endef
|
||||
|
||||
define KernelPackage/ath5k/description
|
||||
This module adds support for wireless adapters based on
|
||||
Atheros 5xxx chipset.
|
||||
endef
|
||||
|
||||
define KernelPackage/ath6kl
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Atheros FullMAC wireless devices (common code for ath6kl_sdio and ath6kl_usb)
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath6kl
|
||||
HIDDEN:=1
|
||||
DEPENDS+= +kmod-ath
|
||||
FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath6kl/ath6kl_core.ko
|
||||
endef
|
||||
|
||||
define KernelPackage/ath6kl-sdio
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Atheros 802.11n SDIO wireless cards support
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath6kl
|
||||
DEPENDS+= +kmod-mmc +kmod-ath6kl
|
||||
FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ath6kl_sdio)
|
||||
endef
|
||||
|
||||
define KernelPackage/ath6kl-sdio/description
|
||||
This module adds support for wireless adapters based on
|
||||
Atheros IEEE 802.11n AR6003 and AR6004 family of chipsets.
|
||||
endef
|
||||
|
||||
define KernelPackage/ath6kl-usb
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Atheros 802.11n USB wireless cards support
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath6kl
|
||||
DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-ath6kl
|
||||
FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath6kl/ath6kl_usb.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ath6kl_usb)
|
||||
endef
|
||||
|
||||
define KernelPackage/ath6kl-usb/description
|
||||
This module adds support for wireless adapters based on the
|
||||
Atheros IEEE 802.11n AR6004 chipset.
|
||||
endef
|
||||
|
||||
define KernelPackage/ath9k-common
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Atheros 802.11n wireless devices (common code for ath9k and ath9k_htc)
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath9k
|
||||
HIDDEN:=1
|
||||
DEPENDS+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ath79 +kmod-ath +kmod-random-core
|
||||
FILES:= \
|
||||
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_common.ko \
|
||||
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
|
||||
endef
|
||||
|
||||
define KernelPackage/ath9k
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Atheros 802.11n PCI wireless cards support
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath9k
|
||||
DEPENDS+= @PCI_SUPPORT||TARGET_ath79 +kmod-ath9k-common
|
||||
FILES:= \
|
||||
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ath9k)
|
||||
endef
|
||||
|
||||
define KernelPackage/ath9k/description
|
||||
This module adds support for wireless adapters based on
|
||||
Atheros IEEE 802.11n AR5008 and AR9001 family of chipsets.
|
||||
endef
|
||||
|
||||
define KernelPackage/ath9k/config
|
||||
|
||||
config ATH9K_HWRNG
|
||||
bool "Add wireless noise as source of randomness to kernel entropy pool"
|
||||
depends on PACKAGE_kmod-ath9k
|
||||
select PACKAGE_kmod-random-core
|
||||
default y
|
||||
|
||||
config ATH9K_SUPPORT_PCOEM
|
||||
bool "Support chips used in PC OEM cards"
|
||||
depends on PACKAGE_kmod-ath9k
|
||||
default y if (x86_64 || i386)
|
||||
|
||||
config ATH9K_TX99
|
||||
bool "Enable TX99 support (WARNING: testing only, breaks normal operation!)"
|
||||
depends on PACKAGE_kmod-ath9k
|
||||
|
||||
config ATH9K_UBNTHSR
|
||||
bool "Support for Ubiquiti UniFi Outdoor+ access point"
|
||||
depends on PACKAGE_kmod-ath9k && TARGET_ath79
|
||||
default y
|
||||
|
||||
endef
|
||||
|
||||
define KernelPackage/ath9k-htc
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Atheros 802.11n USB device support
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath9k
|
||||
DEPENDS+= @USB_SUPPORT +kmod-ath9k-common +kmod-usb-core +ath9k-htc-firmware
|
||||
FILES:= \
|
||||
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ath9k_htc)
|
||||
endef
|
||||
|
||||
define KernelPackage/ath9k-htc/description
|
||||
This module adds support for wireless adapters based on
|
||||
Atheros USB AR9271 and AR7010 family of chipsets.
|
||||
endef
|
||||
|
||||
define KernelPackage/ath10k
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Atheros 802.11ac wireless cards support
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath10k
|
||||
DEPENDS+= @PCI_SUPPORT +kmod-ath +@DRIVER_11AC_SUPPORT \
|
||||
+ATH10K_THERMAL:kmod-hwmon-core +ATH10K_THERMAL:kmod-thermal
|
||||
FILES:= \
|
||||
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_core.ko \
|
||||
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ath10k_core ath10k_pci)
|
||||
MODPARAMS.ath10k_core:=frame_mode=2
|
||||
VARIANT:=regular
|
||||
endef
|
||||
|
||||
define KernelPackage/ath10k/description
|
||||
This module adds support for wireless adapters based on
|
||||
Atheros IEEE 802.11ac family of chipsets. For now only
|
||||
PCI is supported.
|
||||
endef
|
||||
|
||||
define KernelPackage/ath10k/config
|
||||
|
||||
config ATH10K_LEDS
|
||||
bool "Enable LED support"
|
||||
default y
|
||||
depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-smallbuffers
|
||||
|
||||
config ATH10K_THERMAL
|
||||
bool "Enable thermal sensors and throttling support"
|
||||
default y
|
||||
depends on PACKAGE_kmod-ath10k || PACKAGE_kmod-ath10k-sdio || PACKAGE_kmod-ath10k-smallbuffers
|
||||
|
||||
endef
|
||||
|
||||
define KernelPackage/ath10k-sdio
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Atheros 802.11ac SDIO wireless cards support
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath10k
|
||||
DEPENDS+= +kmod-ath +kmod-mmc +@DRIVER_11AC_SUPPORT \
|
||||
+ATH10K_THERMAL:kmod-hwmon-core +ATH10K_THERMAL:kmod-thermal
|
||||
FILES:= \
|
||||
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_core.ko \
|
||||
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_sdio.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ath10k_core)
|
||||
MODPARAMS.ath10k_core:=frame_mode=2
|
||||
VARIANT:=sdio
|
||||
endef
|
||||
|
||||
define KernelPackage/ath10k-sdio/description
|
||||
This module adds support for wireless adapters based on
|
||||
Atheros IEEE 802.11ac family of chipsets with SDIO bus.
|
||||
endef
|
||||
|
||||
define KernelPackage/ath10k-smallbuffers
|
||||
$(call KernelPackage/ath10k)
|
||||
TITLE+= (small buffers for low-RAM devices)
|
||||
VARIANT:=smallbuffers
|
||||
endef
|
||||
|
||||
define KernelPackage/ath11k
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Qualcomm 802.11ax wireless chipset support (common code)
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath11k
|
||||
DEPENDS+= +kmod-ath +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT \
|
||||
+kmod-crypto-michael-mic +ATH11K_THERMAL:kmod-hwmon-core \
|
||||
+ATH11K_THERMAL:kmod-thermal +kmod-qcom-qmi-helpers
|
||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k.ko
|
||||
endef
|
||||
|
||||
define KernelPackage/ath11k/description
|
||||
This module adds support for Qualcomm Technologies 802.11ax family of
|
||||
chipsets.
|
||||
endef
|
||||
|
||||
define KernelPackage/ath11k/config
|
||||
|
||||
config ATH11K_THERMAL
|
||||
bool "Enable thermal sensors and throttling support"
|
||||
depends on PACKAGE_kmod-ath11k
|
||||
default y if TARGET_qualcommax
|
||||
|
||||
endef
|
||||
|
||||
define KernelPackage/ath11k-ahb
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Qualcomm 802.11ax AHB wireless chipset support
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath11k
|
||||
DEPENDS+= @TARGET_qualcommax +kmod-ath11k +kmod-qrtr-smd
|
||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k_ahb.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ath11k_ahb)
|
||||
endef
|
||||
|
||||
define KernelPackage/ath11k-ahb/description
|
||||
This module adds support for Qualcomm Technologies 802.11ax family of
|
||||
chipsets with AHB bus.
|
||||
endef
|
||||
|
||||
define KernelPackage/ath11k-pci
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Qualcomm 802.11ax PCI wireless chipset support
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath11k
|
||||
DEPENDS+= @PCI_SUPPORT +kmod-qrtr-mhi +kmod-ath11k
|
||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath11k/ath11k_pci.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ath11k_pci)
|
||||
endef
|
||||
|
||||
define KernelPackage/ath11k-pci/description
|
||||
This module adds support for Qualcomm Technologies 802.11ax family of
|
||||
chipsets with PCI bus.
|
||||
endef
|
||||
|
||||
define KernelPackage/wcn36xx
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Qualcomm Atheros WCN3660/3680 support
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/wcn36xx
|
||||
DEPENDS+= @TARGET_msm89xx +kmod-ath +kmod-qcom-rproc-wcnss
|
||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/wcn36xx/wcn36xx.ko
|
||||
AUTOLOAD:=$(call AutoProbe,wcn36xx)
|
||||
endef
|
||||
|
||||
define KernelPackage/wcn36xx/description
|
||||
This module adds support for Qualcomm Atheros WCN3660/3680 Wireless
|
||||
blocks in some Qualcomm SoCs
|
||||
endef
|
||||
|
||||
define KernelPackage/ath12k
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Qualcomm 802.11be wireless chipset support
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath12k
|
||||
DEPENDS+= @PCI_SUPPORT +kmod-ath +@DRIVER_11AC_SUPPORT +@DRIVER_11AX_SUPPORT \
|
||||
+kmod-crypto-michael-mic +kmod-qrtr-mhi \
|
||||
+kmod-qcom-qmi-helpers +@DRIVER_11BE_SUPPORT
|
||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath12k/ath12k.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ath12k)
|
||||
endef
|
||||
|
||||
define KernelPackage/ath12k/description
|
||||
This module adds support for Qualcomm Technologies 802.11be family of
|
||||
chipsets with PCI bus.
|
||||
endef
|
||||
|
||||
define KernelPackage/carl9170
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Driver for Atheros AR9170 USB sticks
|
||||
DEPENDS:=@USB_SUPPORT +kmod-mac80211 +kmod-ath +kmod-usb-core +kmod-input-core +carl9170-firmware
|
||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/carl9170/carl9170.ko
|
||||
AUTOLOAD:=$(call AutoProbe,carl9170)
|
||||
endef
|
||||
|
||||
define KernelPackage/owl-loader
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Owl loader for initializing Atheros PCI(e) Wifi chips
|
||||
DEPENDS:=@PCI_SUPPORT +kmod-ath9k
|
||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_pci_owl_loader.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ath9k_pci_owl_loader)
|
||||
endef
|
||||
|
||||
define KernelPackage/owl-loader/description
|
||||
Kernel module that helps to initialize certain Qualcomm
|
||||
Atheros' PCI(e) Wifi chips, which have the init data
|
||||
(which contains the PCI device ID for example) stored
|
||||
together with the calibration data in the file system.
|
||||
|
||||
This is necessary for devices like the Cisco Meraki Z1.
|
||||
endef
|
||||
|
||||
define KernelPackage/ar5523
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Driver for Atheros AR5523 USB sticks
|
||||
DEPENDS:=@USB_SUPPORT +kmod-mac80211 +kmod-ath +kmod-usb-core +kmod-input-core
|
||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ar5523/ar5523.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ar5523)
|
||||
endef
|
||||
|
||||
define KernelPackage/wil6210
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=QCA/Wilocity 60g WiFi card wil6210 support
|
||||
DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +wil6210-firmware
|
||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/wil6210/wil6210.ko
|
||||
AUTOLOAD:=$(call AutoProbe,wil6210)
|
||||
endef
|
||||
+2312
File diff suppressed because it is too large.
Load diff
@@ -11,7 +11,7 @@ define Package/$(PKG_NAME)
|
||||
SECTION:=Utilities
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=USB Gadget with config for msm8916 chipsets
|
||||
DEPENDS:=@USB_GADGET_SUPPORT +kmod-fs-configfs +kmod-usb-gadget +kmod-usb-lib-composite +kmod-usb-gadget-serial +kmod-usb-gadget-mass-storage
|
||||
DEPENDS:=@USB_GADGET_SUPPORT +kmod-fs-configfs +kmod-usb-gadget +kmod-usb-lib-composite +kmod-usb-gadget-serial +kmod-usb-gadget-mass-storage +kmod-usb-gadget-ncm
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
|
||||
@@ -12,6 +12,37 @@ These are my attempts at building the os... my end goal is to build a working mo
|
||||
- Use built dtb from openstick-builder?
|
||||
- use linux's dts?
|
||||
- modemmanager not showing rxtx
|
||||
- Use mcopy and debugfs compiled by openwrt:
|
||||
```makefile
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=foo
|
||||
PKG_RELEASE:=1
|
||||
PKG_BUILD_DEPENDS:=mtools/host
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/foo
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Foo example using mcopy
|
||||
endef
|
||||
|
||||
# Ejemplo: crear/usar una imagen FAT en tiempo de build
|
||||
define Build/Compile
|
||||
# crea directorio dentro de la imagen
|
||||
$(STAGING_DIR_HOST)/bin/mmd -i $(PKG_BUILD_DIR)/fs.img ::/etc
|
||||
# copia un archivo a la imagen sin usar mcopy del sistema
|
||||
$(STAGING_DIR_HOST)/bin/mcopy -i $(PKG_BUILD_DIR)/fs.img $(PKG_BUILD_DIR)/my.conf ::/etc/my.conf
|
||||
endef
|
||||
|
||||
define Package/foo/install
|
||||
$(INSTALL_DIR) $(1)/usr/share/foo
|
||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/fs.img $(1)/usr/share/foo/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,foo))
|
||||
```
|
||||
---
|
||||
### Stuff
|
||||
- The `msm8916-yiming-uz801v3.dtb` file is a prebuilt dtb extracted from one of the many OpenStick-Builder project living in Github.
|
||||
Reference in new issue
Block a user