Changeset 9320


Ignore:
Timestamp:
2007-10-14T17:12:14+02:00 (10 years ago)
Author:
florian
Message:

Fix profile/image generation for dir450

Location:
trunk/target/linux/rdc
Files:
2 edited

Legend:

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

    r9095 r9320  
    4242endef 
    4343 
     44define Image/Build/dir450 
     45        touch $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1)-$(2).img 
     46        mv $(KDIR)/root.$(1) $(KDIR)/root.tmp 
     47        dd of=$(KDIR)/root.$(1) if=$(KDIR)/root.tmp $(call trxalign/$(1)) conv=sync 
     48        $(RM) $(KDIR)/root.tmp 
     49        cp $(KDIR)/root.$(1) $(BIN_DIR)/onlyrootfs-$(BOARD)-$(1)-$(2).img 
     50endef 
     51 
    4452define Image/Build 
    4553        $(CP) $(KDIR)/bzImage $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).bzImage 
    46         $(call Image/Build/ar525w,$(1),ar525w,$(patsubst jffs2-%k,%,$(1))) 
    47         $(call Image/Build/wl153,$(1),wl153,$(patsubst jffs2-%k,%,$(1))) 
     54        $(call Image/Build/$(PROFILE),$(1),$(PROFILE),$(patsubst jffs2-%k,%,$(1))) 
    4855endef 
    4956 
  • trunk/target/linux/rdc/profiles/DIR-450.mk

    r8790 r9320  
    1616 
    1717$(eval $(call Profile,dir450)) 
    18  
Note: See TracChangeset for help on using the changeset viewer.