lantiq: fix build of NAND sysupgrade images
authorMathias Kresin <dev@kresin.me>
Sun, 19 Jun 2016 14:32:47 +0000 (16:32 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 20 Jun 2016 09:45:44 +0000 (11:45 +0200)
commit32012decc327486bdf6564e6cf55a4acfc744efe
tree8a21787bc65dd4ad695364585386becb03b3687e
parentac1cc30cdfc3011cfdd0143c240ec48a2e2df64e
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