OpenWrt Forum Archive

Topic: Package help.

The content of this topic has been archived on 27 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all,
I need help to make a package that incorporates two file (that are not source files) and 1 link. I ve to do it for RB532A. I was following BuildingPackagesHowTo at http://wiki.openwrt.org/BuildingPackage … ackages%29, but I was unable to compile it. Any suggestions/help will be highly appreciated. By the way I am using OpenWrt-SDK-rb532-2.6-for-Linux-x86_64. When i make clean && make world i get the following errors

make clean && make world V=99
make package/compile
make[1]: Entering directory `/home/waqas/Desktop/OpenWrt-SDK-rb532-2.6-for-Linux-x86_64'
make -C package compile SDK=1
make[2]: Entering directory `/home/waqas/Desktop/OpenWrt-SDK-rb532-2.6-for-Linux-x86_64/package'
make[2]: *** No rule to make target `compile'.  Stop.
make[2]: Leaving directory `/home/waqas/Desktop/OpenWrt-SDK-rb532-2.6-for-Linux-x86_64/package'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/home/waqas/Desktop/OpenWrt-SDK-rb532-2.6-for-Linux-x86_64'
make: *** [world] Error 2

Thanks in advance.

tmm wrote:

make[2]: Entering directory `/home/waqas/Desktop/OpenWrt-SDK-rb532-2.6-for-Linux-x86_64/package'
make[2]: *** No rule to make target `compile'.  Stop.
make[2]: Leaving directory `/home/waqas/Desktop/OpenWrt-SDK-rb532-2.6-for-Linux-x86_64/package'

This is just a wild guess and it sounded like your Makefile is not configured properly that the compilation process couldn't locate the package to compile. It could be the name, version, or where to download the file.

This tutorial in the wiki is for the white russian SDK, not for the kamikaze SDK (which you seem to use). That's why it probably does not work.

You can find a short introduction in the kamikaze manual ( http://downloads.openwrt.org/kamikaze/d … 380002.1.2 ).

Thanks a lot for the help. I will look into it and will tell u guys about the output.

My target is to package two configuration files. What I wanna know is that whether I ll ve to make a tar file consisting of those files or the output of the package will contain those files. The next thing i wanna know is will this link link (http://downloads.openwrt.org/kamikaze/d … 380002.1.2) be sufficient for what i want to achieve. How will i ve to tell that these are the files i want to package?

Thanks in advance.

For achieving the above task (my last message) will I have to look into scripting?

The discussion might have continued from here.