UBUNTU: Remove headers asm symlink entirely
authorTim Gardner <tim.gardner@canonical.com>
Tue, 10 Apr 2012 14:36:22 +0000 (08:36 -0600)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Tue, 10 Apr 2012 15:10:46 +0000 (08:10 -0700)
BugLink: http://bugs.launchpad.net/bugs/974403

"UBUNTU: [Config] Fix invalid linux-headers link" moved the erroneous
symlink from asm-$ARCH to asm-generic. As it turns out, the asm symlink
is superfluous, so just remove it entirely.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

debian/rules.d/2-binary-arch.mk

index 8308925..66b4e51 100644 (file)
@@ -189,9 +189,6 @@ ifeq ($(arch),powerpc)
 endif
        # Script to symlink everything up
        $(SHELL) $(DROOT)/scripts/link-headers "$(hdrdir)" "$(basepkg)" "$*"
-       # Setup the proper asm symlink
-       rm -f $(hdrdir)/include/asm
-       (cd $(hdrdir)/include; ln -s asm-generic asm)
        # The build symlink
        install -d debian/$(basepkg)-$*/lib/modules/$(abi_release)-$*
        ln -s /usr/src/$(basepkg)-$* \