mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Create Makefile
This commit is contained in:
parent
e3f275972a
commit
3da221e185
1 changed files with 17 additions and 0 deletions
17
root/target/linux/ipq40xx/image/Makefile
Normal file
17
root/target/linux/ipq40xx/image/Makefile
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
include $(INCLUDE_DIR)/image.mk
|
||||||
|
|
||||||
|
define Device/Default
|
||||||
|
PROFILES := Default
|
||||||
|
KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
|
||||||
|
KERNEL_LOADADDR := 0x80208000
|
||||||
|
DEVICE_DTS = $$(SOC)-$(lastword $(subst _, ,$(1)))
|
||||||
|
DEVICE_DTS_CONFIG := config@1
|
||||||
|
IMAGES := sysupgrade.bin
|
||||||
|
IMAGE/sysupgrade.bin = sysupgrade-tar | append-metadata
|
||||||
|
IMAGE/sysupgrade.bin/squashfs :=
|
||||||
|
endef
|
||||||
|
|
||||||
|
include $(SUBTARGET).mk
|
||||||
|
|
||||||
|
$(eval $(call BuildImage))
|
Loading…
Add table
Add a link
Reference in a new issue