fix kernel image build
[openwrt/svn-archive/archive.git] / openwrt / target / linux / image / Makefile
1 include $(TOPDIR)/rules.mk
2
3 ifeq ($(BOARD),)
4 BOARD:=brcm
5 endif
6
7 KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
8
9 ifeq ($(BR2_TARGET_ROOTFS_JFFS2),y)
10 include ./jffs2.mk
11 endif
12
13 ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS_LZMA),y)
14 include ./squashfs.mk
15 endif
16
17 prepare:
18 compile:
19 install:
20 $(MAKE) -C $(BOARD) prepare
21 $(MAKE) -C $(BOARD) compile
22 rebuild: clean prepare compile install
23 clean:
24