summaryrefslogtreecommitdiffstats
path: root/target/linux/image/tgz.mk
blob: f927ef99e87f04e080abb8ebe1706ad3b25c6c23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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: $(KDIR)/root.tar.gz