Signed-off-by: Stanislav Brabec <utx@penguin.cz>
machine_id() { # return the machine ID
id=`awk 'BEGIN { FS=": " } /Hardware/ { gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo`
- if [ -n "$id" ]; then
+ if [ -z "$id" ]; then
id=`awk 'BEGIN { FS=": " } /platform/ { gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo`
fi
echo -n "$id"
DEPENDS = "makedevs"
RDEPENDS_${PN} = "makedevs"
LICENSE = "GPL"
-PR = "r122"
+PR = "r123"
SRC_URI = "file://functions \
file://halt \
SRC_URI_append_arm = " file://alignment.sh"
-CONFFILES_${PN} += "${sysconfdir}/device_table"
+CONFFILES_${PN} += "${sysconfdir}/device_table"
KERNEL_VERSION = ""