apm821xx: replace DEVICE_{PROFILE|NAME} with BOARD_NAME
authorChristian Lamparter <chunkeey@gmail.com>
Sun, 17 Dec 2017 13:59:55 +0000 (14:59 +0100)
committerMathias Kresin <dev@kresin.me>
Thu, 21 Dec 2017 00:05:16 +0000 (01:05 +0100)
commite4a50d115f8d3934056d5b4219f5e3ebbc63717f
treec5c0a8f0ab1f5f0c6950cc0bf1860c95dc0205ed
parentf895f1e51a2f28cfc36ff0ffdb1a5ea5ca641fbe
apm821xx: replace DEVICE_{PROFILE|NAME} with BOARD_NAME

This patch sets the BOARD_NAME variable on each affected
apm821xx device. The existing DEVICE_PROFILE and
DEVICE_NAME assignments are deprecated as they no longer
serve any purpose.

The BOARD_NAME variable is used by the sysupgrade-tar
method to specifiy a directory overwrite for the
sysupgrade-$dir directory in the generated tar file.
Keeping the original boardname in this context will be
necessary for targets that utilize the sysupgrade-tar
method. Otherwise, sysupgrade on an previous installation
will not recognize the newly generated images.

This step is necessary since an upcoming patch realigns
the existing shortname for a device with a proper
"manufacturer_device" identifier.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/apm821xx/image/Makefile