mirror of https://github.com/hak5/openwrt-owl.git
25 lines
376 B
Makefile
25 lines
376 B
Makefile
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:
|
|
compile:
|
|
install:
|
|
$(MAKE) -C $(BOARD) prepare
|
|
$(MAKE) -C $(BOARD) compile
|
|
rebuild: clean prepare compile install
|
|
clean:
|
|
|