summaryrefslogtreecommitdiffstats
path: root/initrd/Makefile
blob: bd4956df7a2ad23d5b7cd36eb5926f5a43d6fb04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
include $(CONFIG)

FILESDIR := files
ARCHIVEDIR := archive

all: $(ARCHIVEDIR)
	tar -cf $(OUT) -C $(ARCHIVEDIR) .

.PHONY: $(ARCHIVEDIR)
$(ARCHIVEDIR):
	rm -rf $(ARCHIVEDIR)
	cp -r $(FILESDIR)/ $(ARCHIVEDIR)/