Skip to content

Commit

Permalink
Fix build bugs for Ubuntu 16.04
Browse files Browse the repository at this point in the history
Signed-off-by: Mark.Ma <[email protected]>
  • Loading branch information
sharkconi committed Apr 24, 2016
1 parent c093ea1 commit 2a09c37
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ setupenv:
Ubuntu) apt-get update -q; \
apt-get install -y libncurses5 libncurses5-dev mkisofs zlib1g-dev \
libglib2.0-dev autoconf pkg-config libtool libpopt-dev libssl-dev python-dev nsis \
libdumbnet1 libdumbnet-dev python-dev bison flex tclsh; \
libdumbnet1 libdumbnet-dev python-dev python-setuptools bison flex tclsh bc docbook-to-man docbook-utils; \
cp -f pdk/linux/embedded_rootfs/scripts/installkernel /sbin/installkernel-idic; ;; \
*) echo "Unsupported platform"; ;; \
esac
Expand Down
3 changes: 3 additions & 0 deletions pdk/content/mkfiles/kernel.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ KERNELPRE=${shell echo ${VER} | cut -c1-3}
ifeq ($(findstring 3.,$(KERNELPRE)), 3.)
KERNELPRE=3.x
endif
ifeq ($(findstring 4.,$(KERNELPRE)), 4.)
KERNELPRE=4.x
endif

KERNELURL=http://www.kernel.org/pub/linux/kernel/v${KERNELPRE}/

Expand Down
2 changes: 1 addition & 1 deletion pdk/content/mkfiles/module_init_tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
include ${BASE}/.config

PKG:=module-init-tools
VERSION:=3.9
VERSION:=3.15
DIR:=${PKG}-${VERSION}

.PHONY: all
Expand Down
2 changes: 1 addition & 1 deletion pdk/content/mkfiles/qemu.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ ${DIR}:
popd"; \
fi;
@echo "configure qemu"
@cd ${DIR} && ./configure --target-list="${CONFIG_ARCH}-linux-user ${CONFIG_ARCH}-softmmu" --prefix=/usr --disable-smartcard-nss --disable-seccomp --disable-glusterfs --disable-tpm --disable-vhdx --disable-bluez --disable-fdt --disable-gtk --disable-cocoa --disable-sdl --without-system-pixman
@cd ${DIR} && ./configure --target-list="${CONFIG_ARCH}-linux-user ${CONFIG_ARCH}-softmmu" --prefix=/usr --disable-smartcard-nss --disable-seccomp --disable-glusterfs --disable-werror --disable-tpm --disable-vhdx --disable-bluez --disable-fdt --disable-gtk --disable-cocoa --disable-sdl --without-system-pixman

0 comments on commit 2a09c37

Please sign in to comment.