Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8154 closed enhancement (fixed)

[patch][orion] Per subtarget image makefiles for Orion platform and subtarget clean-up

Reported by: maddes Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: orion image makefile Cc:

Description

Reason for this change is to remove existing cross-subtarget dependencies and related issues.

The change consists of two parts:

  1. file movement and copying inside repository
  2. attached patch to change content

This will be changed:

  • move base-files for subtarget "generic" inside the subtarget folder
  • create subtarget image makefiles (resolves current dependencies)
  • move default packages addition of "kmod-ath9k wpad-mini" to subtarget makefiles
  • moved features definition to subtargets (correct features for subtarget "harddisk")
  • build WRT350Nv2-Builder and upslug2 only for subtarget "generic" (was added by r18765)
  • add support for Orion crypto engine (all targets)

How to apply the change:

  1. Create a base-files/etc/ folder inside the generic subtarget folder, then move the corresponding subtarget folders there.
    svn mkdir target/linux/orion/generic/base-files
    svn mkdir target/linux/orion/generic/base-files/etc
    svn mv target/linux/orion/base-files/etc/uci-defaults/ target/linux/orion/generic/base-files/etc/
    svn mv target/linux/orion/base-files/lib/ target/linux/orion/generic/base-files/
    
  2. Duplicate the Orion image makefile twice, so the new subtarget image makefiles keep the revision history.
    svn cp target/linux/orion/image/Makefile target/linux/orion/image/generic.mk
    svn cp target/linux/orion/image/Makefile target/linux/orion/image/harddisk.mk
    
  3. Apply attached patch.
    patch -p0 -i trunk_orion_image_makefile_cleanup.patch
    

Attachments (2)

trunk_orion_image_makefile_cleanup.patch (15.4 KB) - added by maddes 7 years ago.
-p0 patch for trunk. See ticket text how to apply it correctly.
backfire_orion_image_makefile_cleanup.patch (15.4 KB) - added by maddes 7 years ago.
-p0 patch for Backfire See ticket text how to apply it correctly.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by maddes

-p0 patch for trunk. See ticket text how to apply it correctly.

comment:1 Changed 7 years ago by maddes

Patch for Backfire. Same pre-steps required as for trunk.

Changed 7 years ago by maddes

-p0 patch for Backfire See ticket text how to apply it correctly.

comment:2 Changed 7 years ago by acoul

  • Resolution set to fixed
  • Status changed from new to closed

applied in r23883. thank you

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.