util-macros: Clean up and add sdk varient
authorRichard Purdie <richard@openedhand.com>
Thu, 17 Jan 2008 10:44:26 +0000 (10:44 +0000)
committerRichard Purdie <richard@openedhand.com>
Thu, 17 Jan 2008 10:44:26 +0000 (10:44 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3504 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/xorg-util/util-macros-native_1.1.5.bb
meta/packages/xorg-util/util-macros-sdk_1.1.5.bb [new file with mode: 0644]
meta/packages/xorg-util/util-macros_1.1.5.bb

index c327f3f..0f4ed12 100644 (file)
@@ -1,9 +1,3 @@
 require util-macros_${PV}.bb
 
 inherit native
-
-PR = "r1"
-
-XORG_PN = "util-macros"
-
-S = "${WORKDIR}/util-macros-1.1.5"
diff --git a/meta/packages/xorg-util/util-macros-sdk_1.1.5.bb b/meta/packages/xorg-util/util-macros-sdk_1.1.5.bb
new file mode 100644 (file)
index 0000000..597868f
--- /dev/null
@@ -0,0 +1,3 @@
+require util-macros_${PV}.bb
+
+inherit sdk
index 8f5d6ab..9cb22ad 100644 (file)
@@ -6,6 +6,8 @@ PE = "1"
 
 SRC_URI += "file://unbreak_cross_compile.patch;patch=1"
 
+XORG_PN = "util-macros"
+
 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
 RDEPENDS_${PN}-dev = ""
 RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${DEBPV})"