5820d022bc02267363a960d642a39488de784690
[openwrt.git] / target / linux / image / x86 / 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) $(KDIR)/bzImage $(IB_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD)/
This page took 0.111096 seconds and 3 git commands to generate.