Use mkfwimage from athero.openwrt.net with modification for XS2 devices. Add back...
-rw-r--r-- 868 Makefile
drwxr-xr-x - src