cleanup; replace .PHONY with FORCE; disable gdb by default
[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 $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).img: $(KDIR)/root.$(FS)
8 $(CP) $^ $@
9
10 install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).img
11 endif
12
13
14 ifeq ($(FS),tgz)
15 $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tar.gz: $(KDIR)/root.tar.gz
16 $(CP) $^ $@
17
18 install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tar.gz
19 endif
20
21
22 $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinuz: $(KDIR)/bzImage
23 $(CP) $^ $@
24
25 clean:
26 prepare:
27 compile:
28 install: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinuz
29 install-ib: FORCE
30 mkdir -p $(IB_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD)
31 $(CP) $(KDIR)/bzImage $(IB_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD)/
This page took 0.041686 seconds and 5 git commands to generate.