Changeset 20416


Ignore:
Timestamp:
2010-03-25T11:13:00+01:00 (8 years ago)
Author:
florian
Message:

[rdc] use profiles again intead of subtargets.

We have now a single kernel which autodetects the type of device we are running
on, so we can switch back to having profiles. Patch by Bernhard Loos.

Location:
trunk/target/linux/rdc
Files:
5 added
13 deleted
2 edited

Legend:

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

    r20294 r20416  
    11# 
    2 # Copyright (C) 2006-2009 OpenWrt.org 
     2# Copyright (C) 2006-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1111BOARDNAME:=RDC 321x 
    1212FEATURES:=squashfs jffs2 pci usb pcmcia 
    13 CFLAGS:=-Os -pipe -march=i486 -funit-at-a-time 
    14 SUBTARGETS:=ar525w r8610 sitecom bifferboard 
     13CFLAGS:=-Os -pipe -march=i486 -mtune=i486 -funit-at-a-time 
    1514 
    1615LINUX_VERSION:=2.6.30.10 
  • trunk/target/linux/rdc/image/Makefile

    r20294 r20416  
    1010define Image/Prepare 
    1111        $(CP) $(LINUX_DIR)/arch/x86/boot/bzImage $(KDIR)/bzImage 
    12 endef 
    13  
    14 define trxalign/jffs2-128k 
    15 bs=128k 
    16 endef 
    17 define trxalign/jffs2-64k 
    18 bs=64k 
    19 endef 
    20 define trxalign/squashfs 
    21 bs=1024 
    22 endef 
    23  
    24 define Image/Prepare/squashfs 
    25         $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) 
    2612endef 
    2713 
     
    5440define Image/Build 
    5541        $(CP) $(KDIR)/bzImage $(BIN_DIR)/openwrt-$(BOARD).bzImage 
    56         $(call Image/Build/$(SUBTARGET),$(1),$(SUBTARGET),$(patsubst jffs2-%k,%,$(1))) 
     42        $(call Image/Build/$(PROFILE),$(1),$(PROFILE),$(patsubst jffs2-%k,%,$(1))) 
    5743ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) 
    5844        $(call Image/Build/Initramfs) 
Note: See TracChangeset for help on using the changeset viewer.