SDK版本:OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1
以下是helloworld源码包结构
package/
├── helloworld
│ ├── Makefile
│ ├── README
│ └── src
│ ├── helloworld.c
│ └── Makefile
├── Makefile
└── rules.mk
一切就绪,到SDK根目录下
$ make clean
$ make V=99
报错如下:
ERROR: please fix package/helloworld/Makefile
Collecting package info: done
make[1]: Entering directory `/home/openwrt/openwrt/backfire/OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
make[2]: Entering directory `/home/openwrt/openwrt/backfire/OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
make[2]: Nothing to be done for `package/compile'.
make[2]: Leaving directory `/home/openwrt/openwrt/backfire/OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
make[2]: Entering directory `/home/openwrt/openwrt/backfire/OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
--: line 0: cd: /home/openwrt/openwrt/backfire/OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/bin/brcm63xx/packages: No such file or directory
make[2]: Leaving directory `/home/openwrt/openwrt/backfire/OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
make[1]: Leaving directory `/home/openwrt/openwrt/backfire/OpenWrt-SDK-brcm63xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
根据信息应该是Makefile的问题,网上搜到是空格用法错误,改了几次都没成功
有谁能发个Makefile文件给我么
蛋疼啊,用toolchain(改环境变量PATH)编译通过轻松
但是。。。想制作自己的ipk啊
求助
谢谢