Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298211
b: refs/heads/master
c: d7d357b
h: refs/heads/master
i:
  298209: 6953a17
  298207: 13baa39
v: v3
  • Loading branch information
Joerg Roedel authored and Michal Marek committed Feb 24, 2012
1 parent 6d01684 commit 70bbc64
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a47b6c61f58ead0396b837c58a91d0681b775b40
refs/heads/master: d7d357bc279453d402e96527bdcc5b40299f1cf0
14 changes: 9 additions & 5 deletions trunk/scripts/package/builddeb
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,10 @@ if grep -q '^CONFIG_MODULES=y' .config ; then
fi
fi

make headers_check
make headers_install INSTALL_HDR_PATH="$libc_headers_dir/usr"
if [ "$ARCH" != "um" ]; then
make headers_check
make headers_install INSTALL_HDR_PATH="$libc_headers_dir/usr"
fi

# Install the maintainer scripts
# Note: hook scripts under /etc/kernel are also executed by official Debian
Expand Down Expand Up @@ -263,8 +265,6 @@ Description: Linux kernel headers for $KERNELRELEASE on $arch
This is useful for people who need to build external modules
EOF

create_package "$kernel_headers_packagename" "$kernel_headers_dir"

# Do we have firmware? Move it out of the way and build it into a package.
if [ -e "$tmpdir/lib/firmware" ]; then
mv "$tmpdir/lib/firmware" "$fwdir/lib/"
Expand All @@ -291,7 +291,11 @@ Description: Linux support headers for userspace development
are used by the installed headers for GNU glibc and other system libraries.
EOF

create_package "$libc_headers_packagename" "$libc_headers_dir"
if [ "$ARCH" != "um" ]; then
create_package "$kernel_headers_packagename" "$kernel_headers_dir"
create_package "$libc_headers_packagename" "$libc_headers_dir"
fi

create_package "$packagename" "$tmpdir"

exit 0

0 comments on commit 70bbc64

Please sign in to comment.