build a compressed kernel image to use with i386 bootloaders
[openwrt.git] / openwrt / target / linux / image / soekris / Makefile
1 include $(TOPDIR)/rules.mk
2
3 KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
4
5
6 ifeq ($(FS),jffs2-8MB)
7
8 $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).img: $(KDIR)/root.$(FS)
9 cp $^ $@
10
11 install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).img
12
13 endif
14
15
16 ifeq ($(FS),tgz)
17
18 $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tar.gz: $(KDIR)/root.tar.gz
19 cp $^ $@
20
21 install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tar.gz
22
23 endif
24
25
26 $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinuz: $(KDIR)/bzImage
27 cp $^ $@
28
29
30 prepare:
31 compile:
32 install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinuz
33
This page took 0.039971 seconds and 5 git commands to generate.