1. 06 10月, 2012 8 次提交
  2. 03 10月, 2012 3 次提交
    • J
      kbuild: Fix gcc -x syntax · b1e0d8b7
      Jean Delvare 提交于
      The correct syntax for gcc -x is "gcc -x assembler", not
      "gcc -xassembler". Even though the latter happens to work, the former
      is what is documented in the manual page and thus what gcc wrappers
      such as icecream do expect.
      
      This isn't a cosmetic change. The missing space prevents icecream from
      recognizing compilation tasks it can't handle, leading to silent kernel
      miscompilations.
      
      Besides me, credits go to Michael Matz and Dirk Mueller for
      investigating the miscompilation issue and tracking it down to this
      incorrect -x parameter syntax.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Acked-by: NIngo Molnar <mingo@kernel.org>
      Cc: stable@vger.kernel.org
      Cc: Bernhard Walle <bernhard@bwalle.de>
      Cc: Michal Marek <mmarek@suse.cz>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      b1e0d8b7
    • D
      UAPI: Plumb the UAPI Kbuilds into the user header installation and checking · 10b63956
      David Howells 提交于
      Plumb the UAPI Kbuilds into the user header installation and checking system.
      As the headers are split the entries will be transferred across from the old
      Kbuild files to the UAPI Kbuild files.
      
      The changes made in this commit are:
      
       (1) Exported generated files (of which there are currently four) are moved to
           uapi/ directories under the appropriate generated/ directory, thus we
           get:
      
      	include/generated/uapi/linux/version.h
      	arch/x86/include/generated/uapi/asm/unistd_32.h
      	arch/x86/include/generated/uapi/asm/unistd_64.h
      	arch/x86/include/generated/uapi/asm/unistd_x32.h
      
           These paths were added to the build as -I flags in a previous patch.
      
       (2) scripts/Makefile.headersinst is now given the UAPI path to install from
           rather than the old path.
      
           It then determines the old path from that and includes that Kbuild also
           if it exists, thus permitting the headers to exist in either directory
           during the changeover.
      
           I also renamed the "install" variable to "installdir" as it refers to a
           directory not the install program.
      
       (3) scripts/headers_install.pl is altered to take a list of source file paths
           instead of just their names so that the makefile can tell it exactly
           where to find each file.
      
           For the moment, files can be obtained from one of four places for each
           output directory:
      
      	.../include/uapi/foo/
      	.../include/generated/uapi/foo/
      	.../include/foo/
      	.../include/generated/foo/
      
           The non-UAPI paths will be dropped later.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NThomas Gleixner <tglx@linutronix.de>
      Acked-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: NDave Jones <davej@redhat.com>
      10b63956
    • D
      UAPI: Remove the objhdr-y export list · 40f1d4c2
      David Howells 提交于
      Remove the objhdr-y export list as it is no longer used.  genhdr-y should be
      used instead.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NThomas Gleixner <tglx@linutronix.de>
      Acked-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: NDave Jones <davej@redhat.com>
      40f1d4c2
  3. 02 10月, 2012 2 次提交
  4. 27 9月, 2012 1 次提交
  5. 26 9月, 2012 1 次提交
  6. 25 9月, 2012 1 次提交
  7. 21 9月, 2012 1 次提交
    • M
      firmware: fix directory creation rule matching with make 3.80 · c1c1a59e
      Mark Asselstine 提交于
      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
      6c7080a6 [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: NMark Asselstine <mark.asselstine@windriver.com>
      Tested-by: NJan Beulich <jbeulich@suse.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      c1c1a59e
  8. 11 9月, 2012 1 次提交
    • J
      kbuild: add symbol prefix arg to kallsyms · 6895f97e
      James Hogan 提交于
      Commit 1f2bfbd0 ("kbuild: link of
      vmlinux moved to a script") introduced in v3.5-rc1 broke kallsyms on
      architectures which have symbol prefixes.
      
      The --symbol-prefix argument used to be added to the KALLSYMS command
      line from the architecture Makefile, however this isn't picked up by the
      new scripts/link-vmlinux.sh. This resulted in symbols like
      kallsyms_addresses being added which weren't correctly overriding the
      weak symbols such as _kallsyms_addresses. These could then trigger
      BUG_ONs in kallsyms code.
      
      This is fixed by removing the KALLSYMS addition from the architecture
      Makefile, and using CONFIG_SYMBOL_PREFIX in the link-vmlinux.sh script
      to determine whether to add the --symbol-prefix argument.
      Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
      Signed-off-by: NBob Liu <lliubbo@gmail.com>
      6895f97e
  9. 07 9月, 2012 1 次提交
  10. 05 9月, 2012 1 次提交
  11. 01 9月, 2012 1 次提交
  12. 30 8月, 2012 1 次提交
    • M
      firmware: fix directory creation rule matching with make 3.82 · 6c7080a6
      Mark Asselstine 提交于
      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: NMark Asselstine <mark.asselstine@windriver.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      6c7080a6
  13. 23 8月, 2012 1 次提交
  14. 22 8月, 2012 1 次提交
  15. 18 8月, 2012 1 次提交
  16. 17 8月, 2012 5 次提交
  17. 10 8月, 2012 1 次提交
  18. 31 7月, 2012 5 次提交
  19. 26 7月, 2012 4 次提交