[LEDE-DEV] SDK Error: Makefile:48: *** DESCRIPTION:= is obsolete

yanosz lede at yanosz.net
Sun Oct 15 03:53:47 PDT 2017


Hello,

I'm trying to create a package following:
https://lede-project.org/docs/guide-developer/helloworld/start

When I do
make -j1 V=99 package/hellowold/compile

I get:

make[3]: Entering directory
'/tmp/lede-sdk-17.01.3-x86-64_gcc-5.4.0_musl-1.1.16.Linux-x86_64/build_dir/target-x86_64_musl-1.1.16/helloworld-1.0'
Makefile:48: *** DESCRIPTION:= is obsolete, use
Package/PKG_NAME/description.  Stop.
[...]

The Makefile is at:
https://gist.github.com/yanosz/09198538d019d393f5e571d1a573a2c7
Notice, that DESCRIPTION:= is unset, thus the warning appears to be false.

It seems, that the DESCRIPTION is set during the built, causing the error.

When removing the check, the makefile seems to in into an endless recursion:

shell-init: error retrieving current directory: getcwd: cannot access
parent directories: No such file or directory
make: getcwd: No such file or directory
make[153]: Entering directory
'/tmp/lede-sdk-17.01.3-x86-64_gcc-5.4.0_musl-1.1.16.Linux-x86_64/build_dir/target-x86_64_musl-1.1.16/helloworld-1.0'

I quit after 153 tries, ending the loop.

What may be wrong here?

Thanks,
yanosz



-- 
For those of you without hope, we have rooms with color TV,
cable and air conditioning



More information about the Lede-dev mailing list