summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorLinux User <wbx@linux.(none)>2009-10-01 20:26:05 +0200
committerLinux User <wbx@linux.(none)>2009-10-01 20:26:05 +0200
commit8759fa511c0464efaea926dcb1271c0ca95e4eb6 (patch)
tree525fc96ed62d206153794068a2f43116a095dbbe /target
parent22bb527c786d6631eec13f2328da05437a1e46b5 (diff)
abstract package backend, add perl
Diffstat (limited to 'target')
-rw-r--r--target/Config.in7
-rw-r--r--target/native/Makefile1
-rw-r--r--target/native/device.mk2
3 files changed, 9 insertions, 1 deletions
diff --git a/target/Config.in b/target/Config.in
index 6ee9430af..c897b8223 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -622,6 +622,13 @@ config ADK_TARGET_ROOT_EXT4
endchoice
+config ADK_PACKAGE_SUFFIX
+ string
+ default "ipk" if ADK_TARGET_PACKAGE_IPKG
+ default "tar.gz" if ADK_TARGET_PACKAGE_TGZ
+ default "rpm" if ADK_TARGET_PACKAGE_RPM
+ help
+
choice
prompt "Package backend format"
default ADK_TARGET_PACKAGE_IPKG
diff --git a/target/native/Makefile b/target/native/Makefile
index 4f38c3a0b..3b4039167 100644
--- a/target/native/Makefile
+++ b/target/native/Makefile
@@ -2,6 +2,7 @@
# material, please see the LICENCE file in the top-level directory.
include $(TOPDIR)/rules.mk
+include $(TOPDIR)/mk/vars.mk
include $(TOPDIR)/mk/kernel.mk
include $(TOPDIR)/mk/modules.mk
include $(TOPDIR)/mk/kernel-build.mk
diff --git a/target/native/device.mk b/target/native/device.mk
index 0b28f9c9e..8f861905d 100644
--- a/target/native/device.mk
+++ b/target/native/device.mk
@@ -1,4 +1,4 @@
-ARCH:= $(shell uname -m|sed -e "s/i.*86/x86/")
+ARCH:= $(shell uname -m|sed -e "s/i.*86/x86/" -e "s/_64//")
CPU_ARCH:= $(shell uname -m)
KERNEL_VERSION:= 2.6.30.5
KERNEL_RELEASE:= 1