add more kernel stuff for ar7
[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 clean:
31 prepare:
32 compile:
33 install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinuz
34 install-ib:
35 mkdir -p $(IB_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD)
36 cp -dpR $(KDIR)/bzImage $(IB_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD)/
This page took 0.039983 seconds and 5 git commands to generate.