X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2cbdc21c76a2c08690b7c3463231c6319827713c..506f1186042537f35e6b198179dd8c355662b23a:/target/linux/image/tgz.mk diff --git a/target/linux/image/tgz.mk b/target/linux/image/tgz.mk index 544aeae5c..f927ef99e 100644 --- a/target/linux/image/tgz.mk +++ b/target/linux/image/tgz.mk @@ -1,9 +1,14 @@ $(KDIR)/root.tar.gz: tar -zcf $@ --owner=root --group=root -C $(KDIR)/root/ . +ifeq ($(BOARD),x86) +install: tgz-install + tgz-install: $(KDIR)/root.tar.gz $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="tgz" +endif prepare: compile: -install: tgz-install +install: $(KDIR)/root.tar.gz +