From 0b152ed05c0cd22f440c00e44357b95d470ccbf0 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 14 Nov 2006 22:29:46 +0000 Subject: site infrastructure changes: Allow more than one file per target so common files can be created. Add a new class to handle this. Based on the work of Jamie Lenehan, with changes from me. This commit creates a common x86 file and the arm configs are merged but much work still remains. --- classes/base.bbclass | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'classes/base.bbclass') diff --git a/classes/base.bbclass b/classes/base.bbclass index f4a0076f19..f3564bf285 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -694,6 +694,7 @@ python __anonymous () { pn = bb.data.getVar('PN', d, 1) + # OBSOLETE in bitbake 1.7.4 srcdate = bb.data.getVar('SRCDATE_%s' % pn, d, 1) if srcdate != None: bb.data.setVar('SRCDATE', srcdate, d) @@ -727,6 +728,10 @@ python () { # Patch handling inherit patch +# Configuration data from site files +# Move to autotools.bbclass? +inherit siteinfo + EXPORT_FUNCTIONS do_clean do_mrproper do_fetch do_unpack do_configure do_compile do_install do_package do_populate_pkgs do_stage do_rebuild do_fetchall MIRRORS[func] = "0" -- cgit v1.2.3