summaryrefslogtreecommitdiff
path: root/target/linux/image/tgz.mk
blob: 506ab891aed1ba475bcb7b0acfb73e62f8b3cbf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$(KDIR)/root.tar.gz: FORCE
	tar -zcf $@ --owner=root --group=root -C $(BUILD_DIR)/root/ .

ifeq ($(BOARD),x86)
install: tgz-install

tgz-install: $(KDIR)/root.tar.gz
	$(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="tgz"
endif

prepare-targets:
compile-targets:
install-targets: $(KDIR)/root.tar.gz