build: centralize fakeroot code
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>
Fri, 27 Jan 2017 15:10:40 +0000 (16:10 +0100)
committerMathias Kresin <dev@kresin.me>
Sat, 4 Feb 2017 12:46:48 +0000 (13:46 +0100)
commit7d00cfe9bb693e376ac9d035e13f8ce8a5ff572c
tree347422bb10d73b805370743dc023bafd5e155457
parentc1eae7a7b8c272bca1a9ab489b1ceb6434021121
build: centralize fakeroot code

This patch moves the fakeroot code required by some devices to
`image-commands.mk`.

Create the fakeroot on the fly by using the undocumented -s (skip copy)
parameter of mkimage.

Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
[remove unused NETGEAR_KERNEL_MAGIC, remove workarounds to have a dummy
rootfs for mkimage]
Signed-off-by: Mathias Kresin <dev@kresin.me>
include/image-commands.mk
target/linux/apm821xx/image/Makefile
target/linux/ipq806x/image/Makefile
target/linux/ramips/image/mt7620.mk
target/linux/ramips/image/netgear-fake-uImage-hdr.bin [deleted file]