|
本帖最后由 a317606001 于 2015-3-11 17:20 编辑
搞了几天终于移植成功。
主要遇到以下几个问题:
1,我是在x86平台使用,下载最新版本turck r44xxx版本,打补丁后无法make成功,一直报我上面提到的问题。 我后来下载BB最后一个版本r43737,本版本打补丁后可正常make,如果出现错误,先make clean一下再make。
2,使用楼主的文档进行操作,这个版本中没有feeds/luci/contrib/package/luci/路径,这里折腾的很久,发现原来是菜单的生成机制做了修改。
在menuconfig菜单中选中qos_gargoyle先进行一次make.
在buid_dir会生成qos_gargoyle。
所以在feeds/luci.tmp/.packageinfo修改时,与楼主的方法略有不同,下面黑体字部分。
- <b>Source-Makefile: feeds/luci/applications/luci-app-qos_gargoyle/Makefile</b>
- Package: <b>luci-app-qos_gargoyle</b>
- Submenu: 3. Applications
- Version: x-1
- Depends: +libc +USE_EGLIBC:librt +USE_EGLIBC:libpthread <b>+qos-gargoyle</b>
- Conflicts:
- Menu-Depends:
- Provides:
- Build-Depends: lua/host luci-base/host
- Section: luci
- Category: LuCI
- Title: Quality of Service configuration module
- Maintainer:
- Source:
- Type: ipkg
- Description: Quality of Service configuration module
- @@
复制代码
3,在feeds/luci/applications/luci-app-qos_gargoyle/Makefile 进行修改:
以下内容直接覆盖
- #
- # Copyright (C) 2008-2014 The LuCI Team <luci@lists.subsignal.org>
- #
- # This is free software, licensed under the Apache License, Version 2.0 .
- #
- include $(TOPDIR)/rules.mk
- LUCI_TITLE:=LuCI Support for qos-gargoyle
- LUCI_DEPENDS:=+qos-gargoyle
- include ../../luci.mk
- # call BuildPackage - OpenWrt buildroot signature
复制代码
4,跳过对feeds/luci/contrib/package/luci/这个路径下的修改。直接./scripts/feeds install -a
好了 在menuconfig Luci/app菜单中就可以看到 luci-app-qos_gargoyle这一选项了。
选上编译OK。
|
|