imagebuilder: copy from buildroot only target/linux/generic and target/linux/<target...
authora-gave <agave@dracaena.it>
Thu, 11 Jan 2024 10:33:21 +0000 (11:33 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 15 Jan 2024 15:49:12 +0000 (16:49 +0100)
commit84ec8c41e7acc0bfc320d8562330ea14c704f93c
tree913916aca3abe942ea648cccfaf3768218df98d3
parent0b23d3608c1f01f9dc4d042b0217ee0291c0fd70
imagebuilder: copy from buildroot only target/linux/generic and target/linux/<target> to reduce the size

This reduces the size of a single imagebuilder by about 40MB
In example for the target ath79 it would be the sum of generic and <target> directories, so about 16MB,
instead of the whole size of the target directory, about 53MB:
11M target/linux/generic/
3.9M target/linux/ath79/

Signed-off-by: a-gave <agave@dracaena.it>
target/imagebuilder/Makefile