anchor.diff:          echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/libpthread.so
           echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/libc.so
   	# remove unwanted housekeeping files
  -	mv ${SDK_OUTPUT}${libdir}/../${TARGET_ARCH}-${TARGET_OS}/lib/ipkg/status ${SDK_OUTPUT}/${prefix}/package-status
  +	mv ${SDK_OUTPUT}${libdir}/../${TARGET_SYS}/lib/ipkg/status ${SDK_OUTPUT}/${prefix}/package-status
   	rm -rf ${SDK_OUTPUT}${libdir}/ipkg
   
   	# remove unwanted executables
   	rm -rf ${SDK_OUTPUT}/${prefix}/sbin ${SDK_OUTPUT}/${prefix}/etc
   
   	# remove broken .la files
  -	rm ${SDK_OUTPUT}/${prefix}/${TARGET_ARCH}-${TARGET_OS}/lib/*.la
  +	rm ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/*.la
   
   	# fix pkgconfig data files
  -	cd ${SDK_OUTPUT}/${prefix}/${TARGET_ARCH}-${TARGET_OS}/lib/pkgconfig
  +	cd ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/pkgconfig
   	for f in *.pc ; do
  -		sed -i 's%=/usr%=${prefix}/${TARGET_ARCH}-${TARGET_OS}%g' "$f"
  +		sed -i 's%=/usr%=${prefix}/${TARGET_SYS}%g' "$f"
   	done
   	for f in *.pc ; do
   		sed -i 's%${STAGING_DIR}%/usr/local/${TARGET_ARCH}/oe%g' "$f"
  
positive.code: 
  do_populate_sdk[nostamp] = "1"
  do_populate_sdk[recrdeptask] = "do_package_write"
  addtask populate_sdk before do_build after do_install
  
negative.code: DESCRIPTION = "Meta package for SDK including GPE"
  LICENSE = "MIT"
  DEPENDS = "ipkg-native ipkg-utils-native fakeroot-native sed-native"
  PR = "r1"
  
  inherit rootfs_ipk sdk meta
  
  SDK_DIR = "${WORKDIR}/sdk"
  SDK_OUTPUT = "${SDK_DIR}/image"
  