summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/image/Makefile
blob: 6b7c78774c419e171be97e4b346ad60824676878 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
include $(TOPDIR)/rules.mk

ifeq ($(BOARD),)
BOARD:=brcm
endif

KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)

ifeq ($(BR2_TARGET_ROOTFS_JFFS2),y)
include ./jffs2.mk
endif

ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS_LZMA),y)
include ./squashfs.mk
endif

prepare:
	$(MAKE) -C $(BOARD) prepare
compile:
	$(MAKE) -C $(BOARD) compile
install:
rebuild: clean prepare compile install
clean: