mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Updating busybox and adding a patch that allows it to build with make 3.82
svn path=/nixpkgs/branches/stdenv-updates/; revision=23345
This commit is contained in:
parent
dc19818cc7
commit
30892ab9fd
@ -40,14 +40,16 @@ let
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "busybox-1.16.0";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "busybox-1.17.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://busybox.net/downloads/busybox-1.16.0.tar.bz2;
|
||||
sha256 = "1n738zk01yi2sjrx2y36hpzxbslas8b91vzykcifr0p1j7ym0lim";
|
||||
url = "http://busybox.net/downloads/${name}.tar.bz2";
|
||||
sha256 = "0r6i76lad5w359pw93i9wrq2a1pxk8xw6xr4cq71n5by1n0pg4dz";
|
||||
};
|
||||
|
||||
patches = [ ./make-3.82.patch ];
|
||||
|
||||
configurePhase = ''
|
||||
make defconfig
|
||||
${configParser}
|
||||
|
29
pkgs/misc/busybox/make-3.82.patch
Normal file
29
pkgs/misc/busybox/make-3.82.patch
Normal file
@ -0,0 +1,29 @@
|
||||
--- busybox/Makefile 2010-08-19 10:38:51.000000000 +0200
|
||||
+++ busybox-make382/Makefile 2010-08-19 14:46:03.000000000 +0200
|
||||
@@ -433,7 +433,12 @@
|
||||
-include $(srctree)/arch/$(ARCH)/Makefile
|
||||
export KBUILD_DEFCONFIG
|
||||
|
||||
-config %config: scripts_basic outputmakefile gen_build_files FORCE
|
||||
+config: scripts_basic outputmakefile gen_build_files FORCE
|
||||
+ $(Q)mkdir -p include
|
||||
+ $(Q)$(MAKE) $(build)=scripts/kconfig $@
|
||||
+ $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease
|
||||
+
|
||||
+%config: scripts_basic outputmakefile gen_build_files FORCE
|
||||
$(Q)mkdir -p include
|
||||
$(Q)$(MAKE) $(build)=scripts/kconfig $@
|
||||
$(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease
|
||||
@@ -1285,7 +1290,11 @@
|
||||
$(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
|
||||
|
||||
# Modules
|
||||
-/ %/: prepare scripts FORCE
|
||||
+%/: prepare scripts FORCE
|
||||
+ $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
|
||||
+ $(build)=$(build-dir)
|
||||
+
|
||||
+/: prepare scripts FORCE
|
||||
$(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
|
||||
$(build)=$(build-dir)
|
||||
%.ko: prepare scripts FORCE
|
Loading…
Reference in New Issue
Block a user