Changeset 34064


Ignore:
Timestamp:
2012-11-02T21:07:47+01:00 (5 years ago)
Author:
blogic
Message:

[lantiq] adds dts files and make devicetree images buildable

Location:
trunk/target/linux/lantiq/image
Files:
9 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/lantiq/image/Makefile

    r32925 r34064  
    2222define PatchKernelLzma 
    2323        cp $(KDIR)/vmlinux $(KDIR)/vmlinux-$(1) 
     24ifeq ($(CONFIG_LINUX_3_5),y) 
     25        $(LINUX_DIR)/scripts/dtc/dtc -O dtb -o $(KDIR)/$(1).dtb ./$(1).dts 
     26        $(STAGING_DIR_HOST)/bin/patch-dtb $(KDIR)/vmlinux-$(1) $(KDIR)/$(1).dtb 
     27else 
    2428        $(STAGING_DIR_HOST)/bin/patch-cmdline $(KDIR)/vmlinux-$(1) '$(strip $(2))' 
     29endif 
    2530        $(call CompressLzma,$(KDIR)/vmlinux-$(1),$(KDIR)/vmlinux-$(1).lzma) 
    2631endef 
     
    191196ifeq ($(CONFIG_TARGET_lantiq_ase),y) 
    192197 
    193 Image/BuildKernel/Profile/EASY50601=$(call Image/BuildKernel/Template,EASY50601,$(ase_cmdline)) 
    194 Image/Build/Profile/EASY50601=$(call Image/Build/$(1),$(1),EASY50601) 
    195  
    196 define Image/BuildKernel/Profile/Generic 
    197         $(call Image/BuildKernel/Template,NONE) 
    198 endef 
    199  
    200 define Image/Build/Profile/Generic 
    201         $(call Image/Build/$(1),$(1),NONE) 
    202         $(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(1).rootfs 
    203 endef 
     198Image/BuildKernel/Profile/DGN1000B=$(call Image/BuildKernel/Template,DGN1000B) 
     199Image/Build/Profile/DGN1000B=$(call Image/Build/$(1),$(1),DGN1000B) 
     200 
     201endif 
     202 
     203ifeq ($(CONFIG_TARGET_lantiq_xway),y) 
     204 
     205Image/BuildKernel/Profile/EASY80920-NAND=$(call Image/BuildKernel/Template,EASY80920-NAND) 
     206Image/Build/Profile/EASY80920-NAND=$(call Image/Build/$(1),$(1),EASY80920-NAND) 
     207Image/BuildKernel/Profile/EASY80920-NOR=$(call Image/BuildKernel/Template,EASY80920-NOR) 
     208Image/Build/Profile/EASY80920-NOR=$(call Image/Build/$(1),$(1),EASY80920-NOR) 
     209 
    204210endif 
    205211 
Note: See TracChangeset for help on using the changeset viewer.