02 Apr, 2015

2 commits


02 Oct, 2014

1 commit

  • Kconfig never defines CONFIG_* as 'n'.
    Now obj-n is only used in firmware/Makefile and it can be
    replaced with obj-. No makefile uses lib-n.

    Let's rip off obj-n and lib-n.

    Signed-off-by: Masahiro Yamada
    Acked-by: Peter Foley
    Signed-off-by: Michal Marek

    Masahiro Yamada
     

15 May, 2014

1 commit

  • When building the firmware blobs, use a simple loop to create
    directories in $(objtree), like in Makefile.build. This simplifies the
    rules and also makes it possible to set $(objtree) to '.' later. Before
    this change, a dependency on $(objtree)/ would be satisfied by
    in $(srctree).

    When installing the firmware blobs, call mkdir like in Makefile.modinst.

    Cc: David Woodhouse
    Acked-by: Sam Ravnborg
    Signed-off-by: Michal Marek

    Michal Marek
     

30 Apr, 2014

1 commit


16 Oct, 2012

1 commit

  • Commit fe04ddf7c291 ("kbuild: Do not package /boot and /lib in make
    tar-pkg") accidentally reverted two previous kbuild commits. I don't
    know what I was thinking.

    This brings back changes made by commits 24cc7fb69a5b ("x86/kbuild:
    archscripts depends on scripts_basic") and c1c1a59e37da ("firmware: fix
    directory creation rule matching with make 3.80")

    Reported-by: Jan Beulich
    Cc:
    Signed-off-by: Michal Marek
    Signed-off-by: Linus Torvalds

    Michal Marek
     

27 Sep, 2012

1 commit

  • There were reports of users destroying their Fedora installs by a kernel
    tarball that replaces the /lib -> /usr/lib symlink. Let's remove the
    toplevel directories from the tarball to prevent this from happening.

    Reported-by: Andi Kleen
    Suggested-by: Ben Hutchings
    Cc:
    Signed-off-by: Michal Marek

    Michal Marek
     

21 Sep, 2012

1 commit

  • Since make 3.80 doesn't support secondary expansion it uses a fallback
    rule to create firmware directories which is matched after primary
    expansion of the $(installed-fw) rule's prerequisite. Commit
    6c7080a61fc7 [firmware: fix directory creation rule matching with make
    3.82] changed the expression generated after primary expansion such
    that the fallback was not matched. Updating the fallback rule to match
    the new look primary expansion is not an option for various reasons.

    The trailing slash added here to $(INSTALL_FW_PATH)/. while defining
    installed-fw-dirs fixes builds with make 3.82 since this will provide
    a matching rule for $(INSTALL_FW_PATH)/$$(dir %) when % is in the base
    firmware directory (ie. $(dir %) gives './'). Versions of make prior
    to 3.82 will strip this trailing slash along with the one generated by
    $(dir %) when % is in the base firmware directory and as such continue
    to function as before.

    Signed-off-by: Mark Asselstine
    Tested-by: Jan Beulich
    Signed-off-by: Michal Marek

    Mark Asselstine
     

30 Aug, 2012

1 commit

  • Attempting to run 'firmware_install' with CONFIG_USB_SERIAL_TI=y when
    using make 3.82 results in an error

    make[2]: *** No rule to make target `/lib/firmware/./', needed by
    `/lib/firmware/ti_3410.fw'. Stop.

    It turns out make 3.82 is picky when matching directory names with
    trailing slashes as a result, where make 3.81 would handle this
    correctly make 3.82 does not find the rule needed to create the
    directory.

    The './' seen in the error is added by $(dir) for firmware which
    resides in the base firmware src directory, such as
    ti_3410.fw.ihex. By performing $(dir) after we prepend the
    $(INSTALL_FW_PATH) we can ensure we don't end up with a './' in the
    middle of the path and the directory will be properly created.

    This change works with make 3.81 and should work with previous
    versions as well.

    Signed-off-by: Mark Asselstine
    Signed-off-by: Michal Marek

    Mark Asselstine
     

02 Aug, 2008

1 commit


26 Jul, 2008

1 commit


18 Jul, 2008

1 commit


10 Jul, 2008

2 commits