include autoconf-${PV}.oe
-PN:='autoconf-buildarch'
S = ${WORKDIR}/autoconf-${PV}
inherit native
include automake-${PV}.oe
-PN:='automake-buildarch'
S = ${WORKDIR}/automake-${PV}
inherit native
+include cross-gcc-${PV}.oe
+
+EXTRA_OECONF = --oldincludedir=${prefix}/include --enable-shared \
+ --enable-languages=c \
+ --disable-shared \
+ --disable-threads
+
+do_configure_append () {
+ if (grep -q TARGET_LIBGCC2_CFLAGS ${tmake_file}); then
+ perl -pi -e 's/^(TARGET_LIBGCC2_CFLAGS.*)/$$1 -Dinhibit_libc -D__gthr_posix_h/' ${tmake_file}
+ else
+ echo 'TARGET_LIBGCC2_CFLAGS = -Dinhibit_libc -D__gthr_posix_h' >> ${tmake_file}
+ fi
+ echo 'T_CFLAGS = -Dinhibit_libc -D__gthr_posix_h' >> ${tmake_file}
+}
+inherit native
+include fakeroot-${PV}.oe
+S = ${WORKDIR}/fakeroot-${PV}
+inherit native
+include ipkg-utils-${PV}.oe
+inherit native
+include mtd.oe
+
+do_stage () {
+ for binary in ftl_format erase eraseall nanddump doc_loadbios \
+ mkfs.jffs ftl_check mkfs.jffs2 lock unlock einfo mtd_debug \
+ fcp nandwrite jffs2dump; do
+ install -m 0755 $binary ${STAGING_BINDIR}/
+ done
+}
include uclibc-${PV}.oe
-PN := ${PN}-initial
DEPENDS :=
PROVIDES := virtual/uclibc-headers