lantiq: fix build of NAND sysupgrade images
authorMathias Kresin <dev@kresin.me>
Fri, 24 Jun 2016 14:56:44 +0000 (16:56 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Fri, 24 Jun 2016 14:56:44 +0000 (16:56 +0200)
commit4803354e873651fde1e33bd5961e513ddf8e4e00
tree9e388a34a661eb4f3af3fbe95f2fd1789b93dcd0
parent459779dbb7404ebe5416f202718d30b4369437e3
lantiq: fix build of NAND sysupgrade images

The *_UBIFS_OPTS variables need to be prefixed with DEVICE_ to match
the profile name.

The conditions need to be evaluated after the *_UBIFS_OPTS are set,
otherwise the variables are always empty.

Do not append or pass the DEVICE_ prefixed profile name to the images.
Use the name that is passed by the Image/Build/Profile/ step.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/lantiq/image/Makefile