ramips: fix Airlink AR725W factory image build
authorMathias Kresin <dev@kresin.me>
Sat, 4 Feb 2017 10:02:36 +0000 (11:02 +0100)
committerMathias Kresin <dev@kresin.me>
Sat, 4 Feb 2017 12:46:48 +0000 (13:46 +0100)
commit1ba7fa652cffffabb77f23a4d745633050c5c175
tree2967cd8a0a5513b17acfd4ccef2a77b1012879cf
parent785f2a70daa08d6965e94d96c60b1b041cc5cf7e
ramips: fix Airlink AR725W factory image build

The factory image can't be bigger than 3328 KByte. If the image is
bigger than that, the gemtek-header tool throws an error and breaks
the build.

Make sure the output file to which the gemtek header should be added
exists and wasn't removed during the check-size step because of it
size. This will prevent hard errors in case the factory image is to big
similar to what is done for sysupgrade images.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ramips/image/rt288x.mk