build: process variable exports from toplevel.mk only once
authorFelix Fietkau <nbd@nbd.name>
Tue, 6 Oct 2020 10:37:51 +0000 (12:37 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 16 Oct 2020 19:39:09 +0000 (21:39 +0200)
commitef7c34c1d1beac6bca4a683a3a161dd12a81f7e8
tree287b5aec1a6c0c24a2986de94b72405d2d72be9e
parentb59d5c8f0eebb6d15d7cefe487c17fad0ee4a524
build: process variable exports from toplevel.mk only once

These run a lot of expensive shell calls, so redundant calls should be
avoided

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/toplevel.mk