$(uname -p) in kernel.spec

DJ Delorie dj at delorie.com
Thu Mar 29 04:37:52 UTC 2012


This change breaks my arm build:

384fed00 (Dave Jones 2012-03-19 17:30:04 -0400 1485)

-for i in *.config
+for i in kernel-*-$(uname -p)*.config

"uname -p" returns armv7l but the configs we use are more varied than that:

        $(CFG)-arm.config  $(CFG)-armv5tel.config  $(CFG)-armv7hl.config \
        $(CFG)-armv5tel-kirkwood.config \
        $(CFG)-armv7l-imx.config $(CFG)-armv7l-omap.config \
        $(CFG)-armv7l-tegra.config $(CFG)-armv7l-highbank.config \
        $(CFG)-armv7hl-imx.config $(CFG)-armv7hl-omap.config \
        $(CFG)-armv7hl-tegra.config $(CFG)-armv7hl-highbank.config \

Typically, we use "rpmbuild --target=armv7hl" to specify the platform
to build for, do we need to change the way we're doing things?  Is
--target no longer supported?


More information about the kernel mailing list