builder: add hack for openwrt < 19
This commit is contained in:
parent
658c02ecfa
commit
34afaff593
|
@ -69,6 +69,10 @@ stdenv.mkDerivation {
|
|||
lib.optional (!lib.versionAtLeast release "21") python2;
|
||||
|
||||
buildPhase = ''
|
||||
${lib.optionalString (!lib.versionAtLeast release "19") ''
|
||||
# Hack around broken check for gcc
|
||||
touch staging_dir/host/.prereq-build
|
||||
''}
|
||||
make image SHELL=${runtimeShell} \
|
||||
PROFILE="${profile}" \
|
||||
PACKAGES="${lib.concatStringsSep " " packages}" \
|
||||
|
|
Loading…
Reference in New Issue