I had succeed on compiling my - OpenWRT SDK 25875 - target RT3883 - with lots of package per-exciting.
Now I'm trying to cross-compile a c program.
my project files are placed like this:
/home/ubuntu/Desktop/openwrt-na9xx-r25875-20121204/package/fr-recognizer/makefile
/home/ubuntu/Desktop/openwrt-na9xx-r25875-20121204/package/fr-recognizer/src/makefile
/home/ubuntu/Desktop/openwrt-na9xx-r25875-20121204/package/fr-recognizer/src/fr-recognizer.c
I tested the program it run on my pc. so it's ready for crosscompiling.
but when I com to cross compiling my package wouldn't appear in the menuconfig tool.
here is the OpenWRT makefile :
#--------------------------------------------------------------------------------begin makefile
include $(TOPDIR)/rules.mk
PKG_NAME:=fr-recognizer
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/fr-recognizer
SECTION:=utils
CATEGORY:=Utilities
TITLE:=fr-recognizer -- excute spoken utterances
DESCRIPTION:=\
Users may spok commands,\\\
program identify the spokken words,\\\
program search the corespendent command and excute it.
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./src/* $(PKG_BUILD_DIR)/
endef
define Package/fr-recognizer/install
$(INSTALL_DIR) $(1)/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fr-recognizer $(1)/bin/
endef
$(eval $(call BuildPackage,fr-recognizer))
#--------------------------------------------------------------------------------end makefile
I searched on the net and I run this commands :
$./scripts/feeds update –a
$./scripts/feeds install –a
$./scripts/feeds install fr-recognizer
>>Collecting package info: done
>>Ignoring feed 'packages' - index missing
How can I fix that problem ?
(Last edited by louwi on 25 Mar 2014, 16:56)