packages: refactor checks using BR_BUILDING
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Apr 2015 09:51:15 +0000 (11:51 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Apr 2015 19:43:25 +0000 (21:43 +0200)
commitfa6289bb1aad1a8b6721fbeb15d34520c84dcb39
tree3ca90cb1d78a38f1ffb920f7185657b84fa12212
parent256f142bf662fd8fee712e38edd58bb6e8fd283d
packages: refactor checks using BR_BUILDING

Instead of manually testing MAKECMDGOALS, use the newly introduced
BR_BUILDING variable to know if we're building or not.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
boot/at91bootstrap/at91bootstrap.mk
boot/at91bootstrap3/at91bootstrap3.mk
boot/barebox/barebox.mk
boot/uboot/uboot.mk
boot/xloader/xloader.mk
linux/linux.mk
package/sunxi-boards/sunxi-boards.mk