On Feb 12, 5:50 pm, nicolas le falher <
n.lefal...@gmail.com> wrote:
> Update your Openwrt Makefile.
You mean like this?
--- a/openwrt/package/feeds/bifferos/rtai/Makefile
+++ b/openwrt/package/feeds/bifferos/rtai/Makefile
@@ -7,16 +7,16 @@ include $(TOPDIR)/
rules.mk
include $(INCLUDE_DIR)/
kernel.mk
PKG_NAME:=rtai
-PKG_VERSION:=cvs_20110827
-PKG_RELEASE:=1
+PKG_VERSION:=3.9
+PKG_RELEASE:=test2
-PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=@SF/bifferboard/
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.bz2
+PKG_SOURCE_URL:=
https://www.rtai.org/RTAI/
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION)
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)
include $(INCLUDE_DIR)/
package.mk
diff --git a/openwrt/target/linux/rdc/Makefile b/openwrt/target/linux/
rdc/Makefile
index b488a48..dc64ab2 100644
--- a/openwrt/target/linux/rdc/Makefile
+++ b/openwrt/target/linux/rdc/Makefile
@@ -12,7 +12,7 @@ BOARDNAME:=RDC 321x
FEATURES:=squashfs jffs2 pci usb pcmcia
CFLAGS:=-Os -pipe -march=i486 -mtune=i486 -funit-at-a-time
-LINUX_VERSION:=2.6.37.6
+LINUX_VERSION:=2.6.38.8
DEVICE_TYPE=
include $(INCLUDE_DIR)/
target.mk
I did that, waited for the compile error, which looks like this:
CC [M] /home/biff/rtai/bb/openwrt/build_dir/target-
i386_uClibc-0.9.32/rtai-3.9-test2/base/arch/i386/hal/hal.o
In file included from /home/biff/rtai/bb/openwrt/build_dir/target-
i386_uClibc-0.9.32/rtai-3.9-test2/base/arch/i386/hal/hal.c:258:0:
/home/biff/rtai/bb/openwrt/build_dir/target-i386_uClibc-0.9.32/
rtai-3.9-test2/base/arch/i386/hal/hal.immed: In function 'rt_eoi_irq':
/home/biff/rtai/bb/openwrt/build_dir/target-i386_uClibc-0.9.32/
rtai-3.9-test2/base/arch/i386/hal/hal.immed:630:2: error: 'struct
irq_chip' has no member named 'irq_end'
/home/biff/rtai/bb/openwrt/build_dir/target-i386_uClibc-0.9.32/
rtai-3.9-test2/base/arch/i386/hal/hal.immed:630:2: error: 'struct
irq_chip' has no member named 'irq_end'
In file included from /home/biff/rtai/bb/openwrt/build_dir/target-
i386_uClibc-0.9.32/rtai-3.9-test2/base/arch/i386/hal/hal.c:258:0:
/home/biff/rtai/bb/openwrt/build_dir/target-i386_uClibc-0.9.32/
rtai-3.9-test2/base/arch/i386/hal/hal.immed: In function
'__rtai_hal_init':
/home/biff/rtai/bb/openwrt/build_dir/target-i386_uClibc-0.9.32/
rtai-3.9-test2/base/arch/i386/hal/hal.immed:2166:3: warning: format
'%d' expects type 'int', but argument 2 has type 'long unsigned int'
Then I made the change to build_dir/target-i386_uClibc-0.9.32/rtai-3.9-
test2/base/arch/i386/hal/hal.immed (it much be changed in two places)
Now I get:
make[4]: Entering directory `/home/biff/rtai/bb/openwrt/build_dir/
target-i386_uClibc-0.9.32/rtai-3.9-test2'
make all-recursive
make[5]: Entering directory `/home/biff/rtai/bb/openwrt/build_dir/
target-i386_uClibc-0.9.32/rtai-3.9-test2'
*****************************************
* The Linux configuration has changed *
* forcing 'make reconfig' ... *
*****************************************
make[6]: Entering directory `/home/biff/rtai/bb/openwrt/build_dir/
target-i386_uClibc-0.9.32/rtai-3.9-test2'
make[7]: Entering directory `/home/biff/rtai/bb/openwrt/build_dir/
target-i386_uClibc-0.9.32/rtai-3.9-test2'
/bin/sh: line 2: CONFIG_RTAI_MAINTAINER_PGM_FALSE: command not found
configure: loading site script /home/biff/rtai/bb/openwrt/include/site/
i486-openwrt-linux-uclibc
checking build system type... x86_64-unknown-linux-gnu
checking host system type... i386-pc-none
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for CROSS_COMPILE... i486-openwrt-linux-uclibc-
checking for i386-pc-none-gcc... i486-openwrt-linux-uclibc-i486-
openwrt-linux-uclibc-gcc
checking whether the C compiler works... no
configure: error: in `/home/biff/rtai/bb/openwrt/build_dir/target-
i386_uClibc-0.9.32/rtai-3.9-test2':
configure: error: C compiler cannot create executables
Or are you doing this some other way?
thanks,
Biff.