mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
23 lines
578 B
Makefile
23 lines
578 B
Makefile
|
#
|
||
|
# This is free software, licensed under the GNU General Public License v2.
|
||
|
# See /LICENSE for more information.
|
||
|
#
|
||
|
include $(TOPDIR)/rules.mk
|
||
|
include $(INCLUDE_DIR)/image.mk
|
||
|
|
||
|
IMAGE_PROFILE:=$(if $(PROFILE),$(PROFILE),Default)
|
||
|
|
||
|
DEVICE_VARS += DTS IMAGE_SIZE
|
||
|
|
||
|
define Device/Default
|
||
|
BOARDNAME :=
|
||
|
DEVICE_PROFILE = $$(BOARDNAME)
|
||
|
PROFILES = Default $$(DEVICE_PROFILE)
|
||
|
KERNEL_DEPENDS = $$(wildcard ../dts/$$(DTS).dts)
|
||
|
KERNEL := kernel-bin | lzma | uImage lzma
|
||
|
KERNEL_INITRAMFS := kernel-bin | lzma | uImage lzma
|
||
|
endef
|
||
|
TARGET_DEVICES += Default
|
||
|
|
||
|
$(eval $(call BuildImage))
|