make image PROFILE="phicomm-k3" PACKAGES="luci-i18n-ddns-zh-cn block-mount kmod-usb-storage kmod-usb-storage-extras kmod-fs-vfat kmod-fs-ext4 kmod-fs-ntfs ntfs-3g ntfs-3g-utils luci-app-firewall luci-base luci-lib-ip luci-lib-nixio luci-mod-admin-full luci-proto-ppp luci-theme-bootstrap luci ddns-scripts_cloudflare.com-v4 iptables-mod-tproxy curl lua-cjson bash coreutils-base64 luci-app-sqm k3screenctrl frpc luci-app-frpc luci-i18n-base-zh-cn fdisk usbutils kmod-usb-core kmod-usb2 kmod-usb3 e2fsprogs f2fs-tools kmod-fs-f2fs brcmfmac-firmware-usb kmod-phy-bcm-ns-usb2 kmod-phy-bcm-ns-usb3 kmod-usb-ledtrig-usbport brcmfmac-firmware-usb kmod-usb-bcma kmod-usb-storage-uas ca-certificates mwan3 luci-app-mwan3 luci-i18n-mwan3-zh-cn luci-app-mwan3helper luci-i18n-mwan3helper-zh-cn dnsmasq-full openssl-util luci-ssl luci-ssl-openssl luci-ssl-nginx -dnsmasq" FILES=files/
brcmfmac4366c-pcie.bin.69027
from https://github.com/Hill-98/phicommk3-firmware
place to files/lib/firmware/brcmbrcmfmac4366c-pcie.bin
paste those content to file files/etc/opkg/distfeeds.conf
src/gz openwrt_core https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/19.07.1/targets/bcm53xx/generic/packages
src/gz openwrt_base https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/19.07.1/packages/arm_cortex-a9/base
src/gz openwrt_luci https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/19.07.1/packages/arm_cortex-a9/luci
src/gz openwrt_packages https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/19.07.1/packages/arm_cortex-a9/packages
src/gz openwrt_routing https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/19.07.1/packages/arm_cortex-a9/routing
src/gz openwrt_telephony https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/19.07.1/packages/arm_cortex-a9/telephony
copy to files/lib/firmware/brcm/brcmfmac4366c-pcie.bin
of the root of imageBuilder
example: https://github.com/kuoruan/luci-app-v2ray/blob/master/.travis.yml
# Copyright (C) 2016 Openwrt.org
#
# This is free software, licensed under the Apache License, Version 2.0 .
#
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-mwan3helper
PKG_VERSION:=1
PKG_RELEASE:=3
LUCI_TITLE:=LuCI support for MWAN3 Helper
LUCI_DEPENDS:=+luci-app-mwan3 +pdnsd-alt +dnsmasq-full +ipset
LUCI_PKGARCH:=all
include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot signature
PKG_NAME
is required.
make package/<package-name>/compile