fix(luci-app-secubox-admin): fix Makefile structure to enable package indexing
Fixed critical Makefile structure issue that prevented luci-app-secubox-admin from being indexed by the feed system and built by the SDK. Changes: 1. Added `include $(TOPDIR)/rules.mk` at the beginning (required for all OpenWrt packages) 2. Added PKG_LICENSE and PKG_MAINTAINER fields (best practices) 3. Added LUCI_PKGARCH:=all to match other LuCI packages 4. Added closing comment `# call BuildPackage - OpenWrt buildroot` 5. Moved include statements to proper positions This fix aligns the Makefile with the standard OpenWrt/LuCI package structure used by luci-app-secubox and other working packages. Additionally: - Suppressed kconfig warnings in local-build.sh by redirecting stderr to /dev/null for all `make defconfig` commands (lines 532, 782, 1278) Build verification: ✅ Package now appears in feeds/secubox.index ✅ Successfully builds: luci-app-secubox-admin_1.0.0-r2_all.ipk (8.3KB) ✅ Total SecuBox packages built: 33 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
e7cb0bd36e
commit
5d081cbf3e
@ -1,12 +1,18 @@
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-secubox-admin
|
||||
PKG_VERSION:=1.0.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_ARCH:=all
|
||||
PKG_LICENSE:=MIT
|
||||
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
|
||||
|
||||
LUCI_TITLE:=LuCI SecuBox Admin Control Center
|
||||
LUCI_DEPENDS:=+luci-base +luci-app-secubox +rpcd +secubox-core
|
||||
LUCI_DESCRIPTION:=Unified admin control center for SecuBox appstore plugins with system monitoring
|
||||
LUCI_PKGARCH:=all
|
||||
|
||||
# This is free software, licensed under the MIT License
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
# call BuildPackage - OpenWrt buildroot
|
||||
|
||||
@ -529,7 +529,7 @@ LUCI_MK
|
||||
rm -f feeds/telephony.index feeds/routing.index 2>/dev/null || true
|
||||
rm -rf feeds/telephony feeds/routing 2>/dev/null || true
|
||||
|
||||
make defconfig
|
||||
make defconfig 2>/dev/null
|
||||
|
||||
cd - > /dev/null
|
||||
|
||||
@ -779,7 +779,7 @@ configure_packages() {
|
||||
echo "CONFIG_FEED_packages=y" >> .config
|
||||
echo "CONFIG_FEED_luci=y" >> .config
|
||||
|
||||
make defconfig
|
||||
make defconfig 2>/dev/null
|
||||
|
||||
cd - > /dev/null
|
||||
|
||||
@ -1275,7 +1275,7 @@ EOF
|
||||
esac
|
||||
|
||||
# Run defconfig
|
||||
make defconfig
|
||||
make defconfig 2>/dev/null
|
||||
|
||||
cd - > /dev/null
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user