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 11:54:40 +0000 (12:54 +0100)
commit3f9a194e04a7bd857bcdd06e44616abef5dab209
treefaed8a067afba83f2bcfe6a48b0a7f23214005a1
parentc53bb974b291fbf21c1205e777614968f0c2d767
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