Skip to contentSkip to conversation

attr: added BBCLASSEXTEND = "native"

PATCH New Frans Meulenbroeks 1 participant 2 messages Jul 28, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 attr: added BBCLASSEXTEND = "native"

added BBCLASSEXTEND = "native"
this is needed for squashfs-tools, otherwise it is not possible to build mksquashfs and hence no squashfs creation on the build system

---

as this may afffect several others, posted here for review

also not too sure of the desired positionof BBCLASSEXTEND, I put it before the appends if at the end, it seems kinda lost

 recipes/udev/attr_2.4.44.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
recipes/udev/attr_2.4.44.bb +2 -0
index ffc0cc3..d42c5d8 100644
@@ -17,6 +17,8 @@ LDFLAGS_append_libc-uclibc += " -lintl"
 
 TOPDIR[unexport] = "1"
 
+BBCLASSEXTEND = "native"
+
 do_configure_append() {
 	# gettext hack
 	echo "#define _(str) str" >> ${S}/include/config.h
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/2 squashfs-tools: added dependency to attr/attr-native

---

I also had a quick stab at removing legacy staging and adding BBCLASSEXTEND = "native" but somehow I can't get it working. Guess it is something trivial but don't have any time right now, so according to "commit early; commit often" here is what I have right now (which works but is still using legacy staging and a native recipe).

Appreciate if someone can fix this. One of the issues is a hard-coded path in the Makefile (INSTALL_DIR)

have fun! Frans

recipes/squashfs-tools/squashfs-tools-native_4.0.bb +1 -1
index cc01604..1789417 100644
@@ -2,7 +2,7 @@ require squashfs-tools_4.0.bb
 
 inherit native
 
-DEPENDS = "zlib-native"
+DEPENDS = "attr-native zlib-native"
 
 PACKAGES = ""
 
recipes/squashfs-tools/squashfs-tools.inc +2 -2
index fb5a648..44f6a4b 100644
@@ -1,8 +1,8 @@
 DESCRIPTION = "Squashfs is a highly compressed read-only filesystem for Linux."
 SECTION = "base"
 LICENSE = "GPLv2"
-DEPENDS = "zlib"
-INC_PR = "r3"
+DEPENDS = "attr zlib"
+INC_PR = "r4"
 
 S = "${WORKDIR}/squashfs${@bb.data.getVar('PV',d,1).replace('r','-r')}/squashfs-tools"
 
Signature · 1 line
1.7.0.4