diff options
author | Chris Larson <clarson@kergoth.com> | 2010-06-20 14:35:05 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-07-26 17:35:02 -0700 |
commit | 45fc36a32fb23c513833d7e27fb4b9cd8be68fb5 (patch) | |
tree | 1fbea309cae474fa69c36dbe00e9789888128598 /recipes/arm-kernel-shim | |
parent | 155f1ff7f2c9d9a044e6307cce57f0936d541d3b (diff) |
Siteinfo cleanup v2
- Don't supply site files for native.
- Split up the site information, so we don't need to add every single
combination of os and architecture to the siteinfo.bbclass.
- Drop the ${FILE_DIRNAME}/site-<bits> stuff, there are other ways to do it.
- SITEINFO_ENDIANESS -> SITEINFO_ENDIANNESS.
Signed-off-by: Chris Larson <clarson@kergoth.com>
Diffstat (limited to 'recipes/arm-kernel-shim')
-rw-r--r-- | recipes/arm-kernel-shim/arm-kernel-shim_1.5.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/arm-kernel-shim/arm-kernel-shim_1.5.bb b/recipes/arm-kernel-shim/arm-kernel-shim_1.5.bb index 76e26065cd..40bf8e9a8f 100644 --- a/recipes/arm-kernel-shim/arm-kernel-shim_1.5.bb +++ b/recipes/arm-kernel-shim/arm-kernel-shim_1.5.bb @@ -32,7 +32,7 @@ EXTRA_OEMAKE_append = " CROSS_COMPILE=${STAGING_DIR_NATIVE}${prefix_native}/bin/ oe_runmake() { mv ${S}/config.h ${S}/config.h.orig # NSLU2 - if [ ${SITEINFO_ENDIANESS} == "be" ] ; then + if [ ${SITEINFO_ENDIANNESS} == "be" ] ; then sed -e 's|//#define FORCE_BIGENDIAN|#define FORCE_BIGENDIAN|' \ ${WORKDIR}/config-nslu2.h > ${S}/config.h else @@ -44,7 +44,7 @@ oe_runmake() { oenote make ${PARALLEL_MAKE} CROSS_COMPILE=${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX} PACKAGE=arm-kernel-shim-nslu2 make ${PARALLEL_MAKE} CROSS_COMPILE=${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX} PACKAGE=arm-kernel-shim-nslu2 || die "oe_runmake failed" # NAS100d - if [ ${SITEINFO_ENDIANESS} == "be" ] ; then + if [ ${SITEINFO_ENDIANNESS} == "be" ] ; then sed -e 's|//#define FORCE_BIGENDIAN|#define FORCE_BIGENDIAN|' \ ${WORKDIR}/config-nas100d.h > ${S}/config.h else @@ -56,7 +56,7 @@ oe_runmake() { oenote make ${PARALLEL_MAKE} CROSS_COMPILE=${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX} PACKAGE=arm-kernel-shim-nas100d make ${PARALLEL_MAKE} CROSS_COMPILE=${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX} PACKAGE=arm-kernel-shim-nas100d || die "oe_runmake failed" # DSMG-600 - if [ ${SITEINFO_ENDIANESS} == "be" ] ; then + if [ ${SITEINFO_ENDIANNESS} == "be" ] ; then sed -e 's|//#define FORCE_BIGENDIAN|#define FORCE_BIGENDIAN|' \ ${WORKDIR}/config-dsmg600.h > ${S}/config.h else @@ -68,7 +68,7 @@ oe_runmake() { oenote make ${PARALLEL_MAKE} CROSS_COMPILE=${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX} PACKAGE=arm-kernel-shim-dsmg600 make ${PARALLEL_MAKE} CROSS_COMPILE=${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX} PACKAGE=arm-kernel-shim-dsmg600 || die "oe_runmake failed" # FSG-3 - if [ ${SITEINFO_ENDIANESS} == "be" ] ; then + if [ ${SITEINFO_ENDIANNESS} == "be" ] ; then sed -e 's|//#define FORCE_BIGENDIAN|#define FORCE_BIGENDIAN|' \ ${WORKDIR}/config-fsg3.h > ${S}/config.h else |