openwrtv4/openwrt/target/linux/image/tgz.mk

9 lines
210 B
Makefile

$(KDIR)/root.tar.gz:
tar -zcf $@ --owner=root --group=root -C $(KDIR)/root/ .
tgz-install: $(KDIR)/root.tar.gz
$(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="tgz"
prepare:
compile:
install: tgz-install